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 The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. #2473

Closed
SourceCipher opened this issue Jan 2, 2025 · 1 comment

Comments

@SourceCipher
Copy link

How do we get rid of these warnings without doing any hacks to silence them etc? I have tried every possible solution as I have a humongous project and we are trying to bring it up to the latest versions of everything (well of most of things). We dont use vite and we have configured to run using craco. For craco all I saw in the docs were here Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

But trying to add various config changes does not solve the issue. I keep getting hundreds of these warnings coming from sass-loader.
Anyone managed to get this to work using craco?

@nex3
Copy link
Contributor

nex3 commented Jan 2, 2025

You should ask this in the craco support system. We're only responsible for the JS API provided by Sass itself; we don't have any control over how third-party tools use that API.

@nex3 nex3 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
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

2 participants