Skip to content

Commit be2b268

Browse files
alan-agius4dgp1130
authored andcommitted
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
1 parent 3afd1ab commit be2b268

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ export async function getCommonConfig(wco: WebpackConfigOptions): Promise<Config
397397
asyncWebAssembly: true,
398398
},
399399
infrastructureLogging: {
400+
debug: verbose,
400401
level: verbose ? 'verbose' : 'error',
401402
},
402403
stats: getStatsOptions(verbose),

0 commit comments

Comments
 (0)