rollup-plugin-scss
rollup-plugin-scss copied to clipboard
Type of node-sass package
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
- project can't use installation like
npm install --no-optional
becauserollup-plugin-scss
will throws issues about missing ofnode-sass
Also some packages were deprecated
- It can, using the
sass
package which does not require binaries - Woops, the readme should be updated to indicate that
node-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