Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): hide loader paths in webpack warn…
…ings Similar to errors messages we now hide webpack paths in warnings to reduce clutter. Before ``` ./src/styles.scss.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].rules[0].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[6].rules[1].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[6].rules[1].use[1]!./src/styles.scss?ngGlobalStyle - Warning: Module Warning (from ./node_modules/sass-loader/dist/cjs.js): Deprecation $weight: Passing a number without unit % (60) is deprecated. To preserve current behavior: $weight * 1% More info: https://sass-lang.com/d/function-units @material/slider/_slider-theme.scss 77:5 @use node_modules/@angular/material/slider/_slider-theme.scss 3:1 @use node_modules/@angular/material/core/density/private/_all-density.scss 25:1 @forward @angular/_index.scss 18:1 @use src/styles.scss 2:1 root stylesheet ``` After ``` ./src/styles.scss - Warning: Module Warning (from ./node_modules/sass-loader/dist/cjs.js): Deprecation $weight: Passing a number without unit % (60) is deprecated. To preserve current behavior: $weight * 1% More info: https://sass-lang.com/d/function-units @material/slider/_slider-theme.scss 77:5 @use node_modules/@angular/material/slider/_slider-theme.scss 3:1 @use node_modules/@angular/material/core/density/private/_all-density.scss 25:1 @forward @angular/_index.scss 18:1 @use src/styles.scss 2:1 root stylesheet ``` (cherry picked from commit 6e9008c)
- Loading branch information