Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/legacy-js-api
I fear this plugin will stop working in the near future. Unfortunately I've not seen any other plugins that are feature rich enough to replace this plugin.
same worry here :(
Is there an option we can add to set the api? There is one for webpack's sass-loader
same issue here
You can turn off the warnings until this is fixed via:
import postcss from 'rollup-plugin-postcss';
postcss({
use: {
sass: {
silenceDeprecations: ['legacy-js-api'],
}
},
})
I asked the same question in sass/dart-sass#2352. Someone said I should ask here.
Still not fixed?
what if i dont wanna silence warning but instead opt in to modern api
I have the same warning
Same problem here.
Bump!
Would love an update on this one!
Hello. I'm here to follow up on this issue. Seems that this happens on rollup plugin itself; nothing to do on the code side other than silencing the warning.