Skip to content

Commit 2d1cd5d

Browse files
committed
fix(@angular-devkit/build-angular): set logging level to verbose when using --verbose
(cherry picked from commit 9087197)
1 parent 2a6db9a commit 2d1cd5d

File tree

1 file changed

+2
-1
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

1 file changed

+2
-1
lines changed

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/stats.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ const verboseWebpackOutputOptions = {
3838
chunkModules: true,
3939
errorDetails: true,
4040
moduleTrace: true,
41+
logging: 'verbose',
4142
};
4243

4344
export function getWebpackStatsConfig(verbose = false) {
4445
return verbose
45-
? Object.assign(webpackOutputOptions, verboseWebpackOutputOptions)
46+
? { ...webpackOutputOptions, ...verboseWebpackOutputOptions }
4647
: webpackOutputOptions;
4748
}
4849

0 commit comments

Comments
 (0)