Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): add fallback for non defined stat…
Browse files Browse the repository at this point in the history
…s options

A fallback value for stats options when an option is not defined. It has precedence over local webpack defaults.

(cherry picked from commit 60b2cb7)
  • Loading branch information
alan-agius4 committed Jan 28, 2021
1 parent 4226823 commit bffd0e2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ import { WebpackConfigOptions } from '../../utils/build-options';
import { isWebpackFiveOrHigher } from '../../utils/webpack-version';

const webpackOutputOptions = {
all: false, // Fallback value for stats options when an option is not defined. It has precedence over local webpack defaults.
colors: true,
hash: true, // required by custom stat output
timings: true, // required by custom stat output
chunks: true, // required by custom stat output
builtAt: true, // required by custom stat output
chunkModules: false,
children: false, // listing all children is very noisy in AOT and hides warnings/errors
modules: false,
Expand Down

0 comments on commit bffd0e2

Please sign in to comment.