-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Use the modern Sass API #9857
Comments
I was able to migrate our code to use the new API in #9966, but I'm worried that this might be a breaking change for end users. Projects may include a |
You could probably make a shim for the legacy Since the legacy API has been deprecated for years now, we're planning to drop support in Dart Sass 2.0.0 which will probably be released some time in Q1 2025. At that point, we unfortunately won't have the bandwidth to keep making CSS compatibility changes to the 1.x line. |
Parcel currently uses the deprecated legacy API for compiling Sass code. This API is less efficient and less correct than the modern API, and is slated to be removed in an upcoming Dart Sass 2.0.0 release. In order to encourage users to migrate away before that, we'll be adding a deprecation warning to all uses of the legacy API in one of the next few Sass releases.
Also consider adding support for the
sass-embedded
package, and particularly theCompiler
API. When doing multiple small compilations, this API on the embedded host is much faster than the plain-JSsass
package.The text was updated successfully, but these errors were encountered: