I have an Angular 11 library using Bootstrap 4.5
ng-packagr uses SASS 1.34 which yields a lot of warning about the deprecation of the division operator, which is used a lot in Bootstrap (https://sass-lang.com/documentation/breaking-changes/slash-div)
The warning in question:
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
There is an option : --quiet-deps
that can be used when manually executing sass, to hide these warnings.
My question is, how and where to pass this option when building the Angular library ?
It didn't find any possible configuration for the ng build
command or in the ng-package.json
file
"resolutions": { "**/ng-packagr/sass": "~1.32.13" }
– Devotion