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 = [{
141141 ]
142142 } ,
143143 optimization : {
144- minimizer : [ new TerserJSPlugin ( { } ) , new OptimizeCSSAssetsPlugin ( { } ) ] ,
144+ minimize : true ,
145+ minimizer : [ new TerserJSPlugin ( {
146+ sourceMap : true ,
147+ parallel : true
148+ } ) , new OptimizeCSSAssetsPlugin ( ) ] ,
145149 } ,
146150 plugins : [
147151 new ManifestPlugin ( {
@@ -165,6 +169,7 @@ module.exports = [{
165169 ]
166170 } ,
167171 target : 'web' ,
172+ devtool : 'source-map' ,
168173 mode : 'production' ,
169174 output : {
170175 path : path . resolve ( __dirname , '../dist/static' ) ,
@@ -189,5 +194,12 @@ module.exports = [{
189194 }
190195 }
191196 ]
192- }
197+ } ,
198+ optimization : {
199+ minimize : true ,
200+ minimizer : [ new TerserJSPlugin ( {
201+ sourceMap : true ,
202+ parallel : true
203+ } ) ] ,
204+ } ,
193205} ] ;
You can’t perform that action at this time.
0 commit comments