Skip to content

Commit d38b247

Browse files
alan-agius4dgp1130
authored andcommittedApr 11, 2022
fix(@angular-devkit/build-angular): display debug logs when using the --verbose option
Webpack doesn't display debug logs when setting the log level to verbose. See: https://webpack.js.org/configuration/other-options/#debug and https://webpack.js.org/configuration/other-options/#level (cherry picked from commit be2b268)
1 parent 5682bae commit d38b247

File tree

1 file changed

+1
-0
lines changed
  • packages/angular_devkit/build_angular/src/webpack/configs

1 file changed

+1
-0
lines changed
 

‎packages/angular_devkit/build_angular/src/webpack/configs/common.ts

+1
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ export async function getCommonConfig(wco: WebpackConfigOptions): Promise<Config
415415
asyncWebAssembly: true,
416416
},
417417
infrastructureLogging: {
418+
debug: verbose,
418419
level: verbose ? 'verbose' : 'error',
419420
},
420421
stats: getStatsOptions(verbose),

0 commit comments

Comments
 (0)
Please sign in to comment.