File tree 1 file changed +5
-5
lines changed
packages/@angular/cli/models/webpack-configs
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) {
118
118
}
119
119
120
120
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
126
126
} ;
127
127
128
128
if ( buildOptions . buildOptimizer ) {
You can’t perform that action at this time.
0 commit comments