From f1d3a7c9ae6e3f983ae75b5b7d91a9ed3b40a13a Mon Sep 17 00:00:00 2001 From: Andrew Koroluk Date: Sun, 17 Jun 2018 04:50:40 -0700 Subject: [PATCH] fix(webpack): remove old plugins removed in v4 --- templates/app/webpack.make.js | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/templates/app/webpack.make.js b/templates/app/webpack.make.js index 2e96494e2..0443ad1d3 100644 --- a/templates/app/webpack.make.js +++ b/templates/app/webpack.make.js @@ -341,31 +341,6 @@ module.exports = function makeWebpackConfig(options) { ); } - // Add build specific plugins - if(BUILD) { - config.plugins.push( - // Reference: http://webpack.github.io/docs/list-of-plugins.html#noerrorsplugin - // Only emit files when there are no errors - new webpack.NoErrorsPlugin(), - - // Reference: http://webpack.github.io/docs/list-of-plugins.html#dedupeplugin - // Dedupe modules in the output - new webpack.optimize.DedupePlugin(), - - // Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin - // Minify all javascript, switch loaders to minimizing mode - new webpack.optimize.UglifyJsPlugin({ - mangle: false, - output: { - comments: false - }, - compress: { - warnings: false - } - }) - ); - } - let localEnv; try { localEnv = require('./server/config/local.env').default;