-
Notifications
You must be signed in to change notification settings - Fork 381
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
Migrate to the new dart-sass JavaScript API #837
Comments
This package is in maintenance mode. We aim to resolved security issues and general high priority maintenance. In this case we're open to pull requests as the existing dart-sass API appears to still be working. |
I've been experimenting with a solution here. I've tested it in a project that uses a custom importer, and with or without source maps, and with both Dart Sass and the new Embedded Sass. It looks like it's working fine, so I can open a pull request if you'd like. The gist of it is to replace calls to I suppose a breaking change could be avoided by keeping the current code, and have the new API be opt-in somehow. Personally I'd opt to go for a breaking change sooner than later, since the legacy API is going to be removed in the next major version of Sass anyway, but that's up to you 😄 Let me know if I can help! |
The legacy render API will be removed in sass 2.0. Keep the legacy API as an option, but default to the new API to encourage adoption. Fixes dlmanning#837
The legacy render API will be removed in sass 2.0. Keep the legacy API as an option, but default to the new API to encourage adoption. Fixes dlmanning#837
The legacy render API will be removed in sass 2.0. Keep the legacy API as an option, but default to the new API to encourage adoption. Fixes dlmanning#837
The legacy render API will be removed in sass 2.0. Keep the legacy API as an option, but default to the new API to encourage adoption. Fixes dlmanning#837
The legacy render API will be removed in sass 2.0. Keep the legacy API as an option, but default to the new API to encourage adoption. Fixes dlmanning#837
The legacy render API will be removed in sass 2.0. Keep the legacy API as an option, but default to the new API to encourage adoption. Fixes dlmanning#837
Keep the legacy API around, since its removal is still probably a while from now. Fixes dlmanning#837
I took the liberty of opening a PR @xzyfer (sorry for the associated commit spam, I just noticed). |
It seems with Sass v1.63.4 release js api worked in this plugin, or not? 🤔 |
In dart-sass v1.45.0 a new JavaScript API was introduced which suppose to be "more idiomatic, performant, and usable than the old one".
Can you please update the library to use the new API?
Thank you!
The text was updated successfully, but these errors were encountered: