SCSS function
I have inherited some code which includes a function that looks like it should work to me.
Whilst trying to process this with node-sass as its an old project. I get this error message returned.
2 Replies
You need to use Dart Sass not Node Sass
npm i -D sass
probably xD
node-sass is deprecated, its a good idea anyway
https://sass-lang.com/documentation/modules/math#divDidn't really want to have to rewrite the scss base