mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +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';
|
import { isWebpackFiveOrHigher } from '../../utils/webpack-version';
|
||||||
|
|
||||||
const webpackOutputOptions = {
|
const webpackOutputOptions = {
|
||||||
|
all: false, // Fallback value for stats options when an option is not defined. It has precedence over local webpack defaults.
|
||||||
colors: true,
|
colors: true,
|
||||||
hash: true, // required by custom stat output
|
hash: true, // required by custom stat output
|
||||||
timings: true, // required by custom stat output
|
timings: true, // required by custom stat output
|
||||||
chunks: true, // required by custom stat output
|
chunks: true, // required by custom stat output
|
||||||
|
builtAt: true, // required by custom stat output
|
||||||
chunkModules: false,
|
chunkModules: false,
|
||||||
children: false, // listing all children is very noisy in AOT and hides warnings/errors
|
children: false, // listing all children is very noisy in AOT and hides warnings/errors
|
||||||
modules: false,
|
modules: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user