File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/@angular/cli/models/webpack-configs Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ export function getProdConfig(wco: WebpackConfigOptions) {
118118 }
119119
120120 const uglifyCompressOptions : any = {
121- // Disabled because of an issue with Uglify breaking seemingly valid code :
122- // https://github.com/angular/angular-cli /issues/5804
123- // Further investigation:
124- // https://github.com/mishoo/UglifyJS2/issues/2011
125- comparisons : false
121+ // Disabled because of an issue with Mapbox GL when using the Webpack node global and UglifyJS :
122+ // https://github.com/mapbox/mapbox-gl-js /issues/4359#issuecomment-303880888
123+ // https://github.com/angular/angular-cli/issues/5804
124+ // https://github.com/angular/angular-cli/pull/7931
125+ typeofs : false
126126 } ;
127127
128128 if ( buildOptions . buildOptimizer ) {
You can’t perform that action at this time.
0 commit comments