From 553d329cc1b655272c87a6cb9ea3b66bdb83cf0b Mon Sep 17 00:00:00 2001 From: dmbch Date: Mon, 5 Feb 2018 16:49:49 +0100 Subject: [PATCH] refactor(build-config): get rid of (now obsolete) uglify plugin --- packages/build-config/configs/build.js | 2 -- packages/build-config/package.json | 1 - 2 files changed, 3 deletions(-) diff --git a/packages/build-config/configs/build.js b/packages/build-config/configs/build.js index 29a36064a4..328f36d584 100644 --- a/packages/build-config/configs/build.js +++ b/packages/build-config/configs/build.js @@ -3,7 +3,6 @@ var path = require('path'); var webpack = require('webpack'); -var UglifyPlugin = require('uglifyjs-webpack-plugin'); var StatsWriterPlugin = require('webpack-stats-plugin').StatsWriterPlugin; var hopsConfig = require('hops-config'); @@ -67,7 +66,6 @@ module.exports = { ) ), new webpack.optimize.ModuleConcatenationPlugin(), - new UglifyPlugin({ sourceMap: true }), ], performance: { assetFilter: function(assetFilename) { diff --git a/packages/build-config/package.json b/packages/build-config/package.json index 820f9cfdd0..2b305224be 100644 --- a/packages/build-config/package.json +++ b/packages/build-config/package.json @@ -35,7 +35,6 @@ "postcss-import": "^11.0.0", "postcss-loader": "^2.0.10", "style-loader": "^0.19.1", - "uglifyjs-webpack-plugin": "^1.1.6", "url-loader": "^0.6.2", "webpack": "^4.0.0-beta.0", "webpack-node-externals": "^1.6.0",