Skip to content

Commit bffd0e2

Browse files
committed
fix(@angular-devkit/build-angular): add fallback for non defined stats 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)
1 parent 4226823 commit bffd0e2

File tree

1 file changed

+2
-0
lines changed
  • packages/angular_devkit/build_angular/src/webpack/configs

1 file changed

+2
-0
lines changed

packages/angular_devkit/build_angular/src/webpack/configs/stats.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ import { WebpackConfigOptions } from '../../utils/build-options';
1010
import { isWebpackFiveOrHigher } from '../../utils/webpack-version';
1111

1212
const webpackOutputOptions = {
13+
all: false, // Fallback value for stats options when an option is not defined. It has precedence over local webpack defaults.
1314
colors: true,
1415
hash: true, // required by custom stat output
1516
timings: true, // required by custom stat output
1617
chunks: true, // required by custom stat output
18+
builtAt: true, // required by custom stat output
1719
chunkModules: false,
1820
children: false, // listing all children is very noisy in AOT and hides warnings/errors
1921
modules: false,

0 commit comments

Comments
 (0)