File tree 2 files changed +1
-16
lines changed
packages/@angular/cli/models/webpack-configs
2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -124,16 +124,6 @@ export function getBrowserConfig(wco: WebpackConfigOptions) {
124
124
deployUrl : buildOptions . deployUrl ,
125
125
} ) ,
126
126
] ) ,
127
- node : {
128
- fs : 'empty' ,
129
- global : true ,
130
- crypto : 'empty' ,
131
- tls : 'empty' ,
132
- net : 'empty' ,
133
- process : true ,
134
- module : false ,
135
- clearImmediate : false ,
136
- setImmediate : false
137
- }
127
+ node : false ,
138
128
} ;
139
129
}
Original file line number Diff line number Diff line change @@ -271,11 +271,6 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
271
271
warnings : buildOptions . verbose ,
272
272
safari10 : true ,
273
273
compress : {
274
- // Disabled because of an issue with Mapbox GL when using the Webpack node global:
275
- // https://github.com/mapbox/mapbox-gl-js/issues/4359#issuecomment-303880888
276
- // https://github.com/angular/angular-cli/issues/5804
277
- // https://github.com/angular/angular-cli/pull/7931
278
- typeofs : false ,
279
274
pure_getters : buildOptions . buildOptimizer ,
280
275
// PURE comments work best with 3 passes.
281
276
// See https://github.com/webpack/webpack/issues/2899#issuecomment-317425926.
You can’t perform that action at this time.
0 commit comments