thgh / rollup-plugin-scss

Rollup and compile multiple .scss, .sass and .css imports
MIT License
135 stars 46 forks source link

Consider to use "sass" instead of "node-sass" #39

Closed dkorobeinikov closed 4 years ago

dkorobeinikov commented 4 years ago

Is it possible to replase node-sass package with sass?

sass has more frequent updates, supports newest SASS features and requires much less dependencies (according to npm.anvaka.com sass has 18 deps) while node-sass needs 179. Also, sass doesn't depend on NodeJS C++ Addons

In most cases sass has the same API as node-sass, so it shouldn't be much problems on migrating.

thgh commented 4 years ago

PR welcome! I would then prefer to still use node-sass because it's faster. So having both as peerdependencies and allowing developers to choose which one? This would be a major version bump.

thgh commented 4 years ago

Released the sass option in v2.4.0