Skip to content
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

Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. #463

Open
v1kt0r1337 opened this issue Oct 3, 2024 · 5 comments

Comments

@v1kt0r1337
Copy link

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.

@MichalGorskiOnegini
Copy link

same worry here :(

@mrbinky3000
Copy link

Is there an option we can add to set the api? There is one for webpack's sass-loader

@narcecl
Copy link

narcecl commented Oct 24, 2024

same issue here

@BryceMehring
Copy link

You can turn off the warnings until this is fixed via:

import postcss from 'rollup-plugin-postcss';

postcss({
    use: {
        sass: {
            silenceDeprecations: ['legacy-js-api'],
        }
    },
})

@movahhedi
Copy link

I asked the same question in sass/dart-sass#2352.
Someone said I should ask here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants