sahat/hackathon-starter

Migrate from node-sass to Dart Sass

YasharF opened this issue · 2 comments

As of Oct 2020, node-sass has been deprecated in favor of dart sass.

https://github.com/sass/node-sass#readme

Warning: LibSass and Node Sass are deprecated. While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Projects that still use it should move onto Dart Sass.

Per https://sass-lang.com/dart-sass/

When installed via npm, Dart Sass supports a brand new JavaScript API, as well as a legacy API that’s fully compatible with the old Node Sass API. Note that when using the sass package, the synchronous API functions are more than twice as fast as the asynchronous API, due to the overhead of asynchronous callbacks.

Fixed by: daca135