-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Labels
Description
For which library do you have a feature request?
native-federation
Information
While building, we get a lot of deprecation warnings from angular-sass, and we would like to silence them, since we cannot switch to @use instead of @import.
Example:
▲ [WARNING] Deprecation [plugin angular-sass]
src/app/_core/components/***/***.component.scss:1:8:
1 │ @import "node_modules/bootstrap/scss/functions";
╵ ^
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
More info and automated migrator: https://sass-lang.com/d/import
Usually that should not be a problem, since you can add silenceDeprecations to your build options.
"stylePreprocessorOptions": {
"sass": {
"silenceDeprecations": ["import", "global-builtin"]
}
},
This is not working using the native federation builder though.
Describe any alternatives/workarounds you're currently using
No workarounds found. "quietDeps" is also not working.
I would be willing to submit a PR to fix this issue
- Yes
- No
stanciupaul