File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,11 @@ module.exports = [{
141
141
]
142
142
} ,
143
143
optimization : {
144
- minimizer : [ new TerserJSPlugin ( { } ) , new OptimizeCSSAssetsPlugin ( { } ) ] ,
144
+ minimize : true ,
145
+ minimizer : [ new TerserJSPlugin ( {
146
+ sourceMap : true ,
147
+ parallel : true
148
+ } ) , new OptimizeCSSAssetsPlugin ( ) ] ,
145
149
} ,
146
150
plugins : [
147
151
new ManifestPlugin ( {
@@ -165,6 +169,7 @@ module.exports = [{
165
169
]
166
170
} ,
167
171
target : 'web' ,
172
+ devtool : 'source-map' ,
168
173
mode : 'production' ,
169
174
output : {
170
175
path : path . resolve ( __dirname , '../dist/static' ) ,
@@ -189,5 +194,12 @@ module.exports = [{
189
194
}
190
195
}
191
196
]
192
- }
197
+ } ,
198
+ optimization : {
199
+ minimize : true ,
200
+ minimizer : [ new TerserJSPlugin ( {
201
+ sourceMap : true ,
202
+ parallel : true
203
+ } ) ] ,
204
+ } ,
193
205
} ] ;
You can’t perform that action at this time.
0 commit comments