Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): set logging level to verbose when…
Browse files Browse the repository at this point in the history
… using `--verbose`
  • Loading branch information
alan-agius4 committed Sep 10, 2020
1 parent 1ebd7e6 commit 9087197
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -38,11 +38,12 @@ const verboseWebpackOutputOptions = {
chunkModules: true,
errorDetails: true,
moduleTrace: true,
logging: 'verbose',
};

export function getWebpackStatsConfig(verbose = false) {
return verbose
? Object.assign(webpackOutputOptions, verboseWebpackOutputOptions)
? { ...webpackOutputOptions, ...verboseWebpackOutputOptions }
: webpackOutputOptions;
}

Expand Down

0 comments on commit 9087197

Please sign in to comment.