Open the-homeless-god opened 3 years ago
sass
package which does not require binariesnode-sass
should be installed specifically.I would suggest to not include node-sass
as an optional dependency and always require to specify the preferred sass package in package.json.
Currently want to use the plugin with sass
(dart-sass) but node-sass gets installed anyway.
Let's do that for v3, PR welcome!
Thanks for fixing this. This simple change sped-up our install
time in a medium-size monorepo by 70%: https://github.com/3YOURMIND/kotti/pull/403
Currently, node-sass has been marked as 'optional" dependency in package.json, but there are a few issues:
rollup-plugin-scss
can't work withoutnode-sass
npm install --no-optional
becauserollup-plugin-scss
will throws issues about missing ofnode-sass
Also some packages were deprecated