Skip to content

Commit

Permalink
chore: remove not used HTMLWebpackPlugin and remove DedupePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Heinz committed Feb 20, 2018
1 parent a7bc555 commit 71d5640
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions webpack.config.prod.js
@@ -1,7 +1,5 @@
import webpack from 'webpack';
import baseConfig from './webpack.config.base';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import UnminifiedWebpackPlugin from 'unminified-webpack-plugin';
import _debug from 'debug';

Expand All @@ -13,14 +11,13 @@ let config = Object.create(baseConfig);
config.devtool = 'source-map';

config.plugins = [
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
sourceMap: true,
compress: {
unused: true,
dead_code: true,
warnings: false
}
sourceMap: true,
compress: {
unused: true,
dead_code: true,
warnings: false
}
}),
new UnminifiedWebpackPlugin()
];
Expand Down

0 comments on commit 71d5640

Please sign in to comment.