mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
parent
8ea892cb7e
commit
d9f0bd5f34
@ -354,7 +354,6 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
|
||||
}
|
||||
: {
|
||||
ecma: terserEcma,
|
||||
pure_getters: buildOptions.buildOptimizer,
|
||||
// PURE comments work best with 3 passes.
|
||||
// See https://github.com/webpack/webpack/issues/2899#issuecomment-317425926.
|
||||
passes: buildOptions.buildOptimizer ? 3 : 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user