Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): display debug logs when using the…
Browse files Browse the repository at this point in the history
… `--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)
  • Loading branch information
alan-agius4 authored and dgp1130 committed Apr 11, 2022
1 parent 5682bae commit d38b247
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ export async function getCommonConfig(wco: WebpackConfigOptions): Promise<Config
asyncWebAssembly: true,
},
infrastructureLogging: {
debug: verbose,
level: verbose ? 'verbose' : 'error',
},
stats: getStatsOptions(verbose),
Expand Down

0 comments on commit d38b247

Please sign in to comment.