diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 8a3e92f..672d417 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -11,6 +11,7 @@ let mainConfig = { path: __dirname + '/public/', filename: '[name].js', }, + mode: develBuild ? 'development' : 'production', module: { rules: [ { @@ -43,8 +44,6 @@ let mainConfig = { if (develBuild) { mainConfig.devtool = 'inline-source-map'; -} else { - mainConfig.plugins.push(new webpack.optimize.UglifyJsPlugin( { minimize: true })); } module.exports = mainConfig;