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

[Bug]: Sass deprecation warnings display even though quietDeps is set to true #3201

Closed
Atmos4 opened this issue Aug 13, 2024 · 3 comments
Closed
Labels
🐞 bug Something isn't working

Comments

@Atmos4
Copy link

Atmos4 commented Aug 13, 2024

Version

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 14.09 GB / 31.68 GB
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @rsbuild/core: 1.0.1-beta.11 => 1.0.1-beta.11
    @rsbuild/plugin-react: 1.0.1-beta.11 => 1.0.1-beta.11
    @rsbuild/plugin-sass: 1.0.1-beta.11 => 1.0.1-beta.11
    @rsbuild/plugin-type-check: 1.0.1-beta.11 => 1.0.1-beta.11

Details

Using @rsbuild/plugin-sass, deprecation warnings started showing up when upgrading from alpha.9 to beta.11.

image

Reproduce link

https://www.google.com/search?q=no+need+for+a+url+the+issue+is+self+explanatory

Reproduce Steps

Note: maybe this is unrelated to rsbuild and just something that the Sass team really want to push

@Atmos4 Atmos4 added the 🐞 bug Something isn't working label Aug 13, 2024
@chenjiahan
Copy link
Member

Yes, this is unrelated to Rsbuild.

element-plus/element-plus#17487
https://sass-lang.com/documentation/breaking-changes/mixed-decls/

@Atmos4
Copy link
Author

Atmos4 commented Aug 13, 2024

Thanks for responding 🎉 keep up the good work

@MattGXT
Copy link

MattGXT commented Aug 16, 2024

it's not a bug.
try import sass and add logger to config:

import sass from 'sass';

pluginSass({
    sassLoaderOptions: {
        sassOptions: {
            logger: sass.Logger.silent
        }
    }
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants