-
Notifications
You must be signed in to change notification settings - Fork 150
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
v5 #562
v5 #562
Conversation
* Drop Node 10 and 12. Add 16 and 18 * Upgrade a couple dependencies BREAKING CHANGE: minimum node version changed to v14
node-sass was deprecated a while ago: https://sass-lang.com/blog/libsass-is-deprecated BREAKING CHANGE: 🧨 node-sass is not supported anymore. Use `sass` instead
Updating to
|
@dummdidumm The result of the |
* [sass] we use leagacy api * Tell, that we use Legacy API Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
Please use the `lang="..."` attribute to identify the language of a style or script tag instead BREAKING CHANGE: 🧨 Cannot use "type" attribute to identify the language of a style or script tag anymore. Use `lang` instead
@@ -59,24 +38,17 @@ const transformer: Transformer<Options.Sass> = async ({ | |||
filename, | |||
options = {}, | |||
}) => { | |||
let implementation = options?.implementation ?? sass; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since node-sass
is deprecated, I think we might as well remove support for it altogether.
BREAKING CHANGE: 🧨 Minimum node version was bumped from 9 to 14
9045a76
to
49371ac
Compare
BREAKING CHANGE: 🧨 Languages must be explicitly defined via the lang attribute.
@benmccann Just released v5 🎉 those installation errors should stop now 🙏 |
Nope, not used, so can be removed. |
thanks!! |
Closes #504, #559, #485, #452, #508. This PR basically does what is described in #504:
node-sass
support.libSass
(akanode-sass
) was deprecated a while ago.. Usesass
instead.type="text/..."
attribute (was deprecated).defaults
(was deprecated)From #504 (cc @dummdidumm)
This will be the only thing not implemented right now as I'm not managing to make it work in the test environment. There's also a problem with sync/async importers which I'm not sure how to deal with just yet.