mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 23:15:56 +08:00
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
This commit is contained in:
parent
3afd1ab9c0
commit
be2b268c36
@ -397,6 +397,7 @@ export async function getCommonConfig(wco: WebpackConfigOptions): Promise<Config
|
|||||||
asyncWebAssembly: true,
|
asyncWebAssembly: true,
|
||||||
},
|
},
|
||||||
infrastructureLogging: {
|
infrastructureLogging: {
|
||||||
|
debug: verbose,
|
||||||
level: verbose ? 'verbose' : 'error',
|
level: verbose ? 'verbose' : 'error',
|
||||||
},
|
},
|
||||||
stats: getStatsOptions(verbose),
|
stats: getStatsOptions(verbose),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user