From 012393d37924a2afd172bfd80ee5e4bcd1c9abdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juuso=20Valkeej=C3=A4rvi?= Date: Fri, 25 Nov 2022 10:43:13 +0200 Subject: [PATCH] fix(@angular-devkit/build-angular): correctly set Sass quietDeps and verbose options The logic to set these options was flipped which caused the warnings to be displayed when verbose was disabled. --- .../build_angular/src/webpack/configs/styles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/angular_devkit/build_angular/src/webpack/configs/styles.ts b/packages/angular_devkit/build_angular/src/webpack/configs/styles.ts index b396c329cb29..b1ec2fcec2d0 100644 --- a/packages/angular_devkit/build_angular/src/webpack/configs/styles.ts +++ b/packages/angular_devkit/build_angular/src/webpack/configs/styles.ts @@ -232,7 +232,7 @@ export function getStylesConfig(wco: WebpackConfigOptions): Configuration { sassImplementation, includePaths, false, - !buildOptions.verbose, + !!buildOptions.verbose, !!buildOptions.preserveSymlinks, ), }, @@ -254,7 +254,7 @@ export function getStylesConfig(wco: WebpackConfigOptions): Configuration { sassImplementation, includePaths, true, - !buildOptions.verbose, + !!buildOptions.verbose, !!buildOptions.preserveSymlinks, ), },