Skip to content

Commit 41d2087

Browse files
filipesilvavikerman
authored andcommitted
fix(@angular-devkit/build-angular): remove workaround for uglify-es (#12033)
Fix #11996 (comment)
1 parent a2342b6 commit 41d2087

File tree

1 file changed

+0
-4
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

1 file changed

+0
-4
lines changed

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts

-4
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,6 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
229229
// PURE comments work best with 3 passes.
230230
// See https://github.com/webpack/webpack/issues/2899#issuecomment-317425926.
231231
passes: buildOptions.buildOptimizer ? 3 : 1,
232-
// Workaround known uglify-es issue
233-
// See https://github.com/mishoo/UglifyJS2/issues/2949#issuecomment-368070307
234-
inline: wco.supportES2015 ? 1 : 3,
235-
236232
global_defs: {
237233
ngDevMode: false,
238234
},

0 commit comments

Comments
 (0)