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`

(cherry picked from commit 9087197)
  • Loading branch information
alan-agius4 committed Sep 10, 2020
1 parent 2a6db9a commit 2d1cd5d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
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 2d1cd5d

Please sign in to comment.