File tree 1 file changed +0
-25
lines changed
1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -341,31 +341,6 @@ module.exports = function makeWebpackConfig(options) {
341
341
) ;
342
342
}
343
343
344
- // Add build specific plugins
345
- if ( BUILD ) {
346
- config . plugins . push (
347
- // Reference: http://webpack.github.io/docs/list-of-plugins.html#noerrorsplugin
348
- // Only emit files when there are no errors
349
- new webpack . NoErrorsPlugin ( ) ,
350
-
351
- // Reference: http://webpack.github.io/docs/list-of-plugins.html#dedupeplugin
352
- // Dedupe modules in the output
353
- new webpack . optimize . DedupePlugin ( ) ,
354
-
355
- // Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
356
- // Minify all javascript, switch loaders to minimizing mode
357
- new webpack . optimize . UglifyJsPlugin ( {
358
- mangle : false ,
359
- output : {
360
- comments : false
361
- } ,
362
- compress : {
363
- warnings : false
364
- }
365
- } )
366
- ) ;
367
- }
368
-
369
344
let localEnv ;
370
345
try {
371
346
localEnv = require ( './server/config/local.env' ) . default ;
You can’t perform that action at this time.
0 commit comments