Add support for Dart Sass
See original GitHub issueIt looks like version 2.0.0 added support for Sass, which is rad! However, it also looks like it only supports Node Sass, which uses LibSass. It would be good to support Dart Sass, the new reference implementation that’s distributed as pure JS, as well. This means that it doesn’t require users to either download a binary blog or natively compile C++ code to use. See the sass-loader
documentation for how to configure it to use Dart Sass.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Dart Sass
When installed via npm, Dart Sass supports a JavaScript API that aims to be compatible with Node Sass. Full compatibility is a work...
Read more >The reference implementation of Sass, written in Dart. - GitHub
Install Dart. If you download an archive manually rather than using an installer, make sure the SDK's bin directory is on your PATH...
Read more >dart-sass - npm
A pure JavaScript implementation of Sass.. Latest version: 1.25.0, last published: 3 years ago. Start using dart-sass in your project by ...
Read more >Dart SCSS Support Request - Visual Studio Feedback
Adding my voice here that the version of Sass supported by Visual Studio, LibSass has been deprecated for two years. Dart Sass, the...
Read more >How to Install Dart Sass in Windows? - GeeksforGeeks
Installing Dart Saas on Windows: ... Follow the below steps to install dart Saas n Windows: Step 1: In your browser navigate to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Was able to get dart-sass working by adding this to package.json and using yarn resolutions (https://yarnpkg.com/lang/en/docs/selective-version-resolutions/), if anyone wants to test it out.
“resolutions”: { “node-sass”: “npm:sass” }
If you’re not using yarn, npm 6.9 added package-aliasing, so
npm install node-sass@npm:sass
will install dart-sass and play nicely with the default create-react-app config.Run
npx sass --version
to verify your sass install.Further reading: