mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
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.
This commit is contained in:
parent
9a6541f882
commit
60b2cb7f10
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user