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

silence sass deprecation warning for Angular 19 #1900

Open
surenrao opened this issue Jan 27, 2025 · 3 comments
Open

silence sass deprecation warning for Angular 19 #1900

surenrao opened this issue Jan 27, 2025 · 3 comments

Comments

@surenrao
Copy link

surenrao commented Jan 27, 2025

Is your feature request related to a problem? Please describe.
We do angular upgrade once a year. Now we are getting sass deprecation warnings after updating angular 17 to angular 19. We use bootstrap so we cant fix majority of the warnings.
our builder is @angular-builders/custom-webpack

Describe the solution you'd like
Allow a way to silence sass related deprecation warnings. for example
In angular.json enable below option

"stylePreprocessorOptions": {
        "sass": {
          "silenceDeprecations": ["mixed-decls", "color-functions", "global-builtin", "import"]
        }
      }

OR

"stylePreprocessorOptions": {
        "sass": {
          quietDeps: true
        }
      }

Can look at
https://www.angulararchitects.io/en/blog/how-to-disable-the-angular-v19s-sass-compiler-deprecation-warnings/
for more context

Describe alternatives you've considered
No

Additional context
None

@5uper
Copy link

5uper commented Jan 29, 2025

+1

2 similar comments
@prasantht96
Copy link

+1

@4en1x
Copy link

4en1x commented Feb 11, 2025

+1

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

4 participants