-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow usage of sass-embedded instead of sass package #6734
Comments
I tried aliasing the package:
which resulted in errors:
|
@pbowyer @nex3 Webpack sass-loader seems to encounter the exact same error here: webpack-contrib/sass-loader#1012 (comment) |
FYI, I made a simple attempt to support SASS modern API #7170 |
Actually works for me. One you may need configure paths - @import "node_modules/bootstrap/scss/variables";
+ @import "../../node_modules/bootstrap/scss/variables"; |
FYI there is a case when |
We've discussed this in the last meeting, where the slower speed of For now, you can use |
Maybe with this it will actually be faster instead: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md#1700 |
With the new compiler classes, Embedded Sass should be pretty much universally faster than the |
This isn't the case now
The above comment is from sass team, so maybe it's a good time to review it again with #7116 My debug shows that Vite is really slow here with sass when there are a lot of Vue SFC which use This could be a noticeable performance improvement for sass and vue sfc users. @sapphi-red |
Clear and concise description of the problem
Now that sass-embedded hit stable it would be nice to have it as an option for compiling sass/scss since it's a lot faster. Currently if you try to use it as a replacement for the sass package, you'll get the following error:
Suggested solution
Add support for the sass-embedded package to be used instead of sass.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: