Removed old plugins from webpack config.

This commit is contained in:
orangemug 2017-11-07 11:50:00 +00:00
parent f452ea0d26
commit 203aaf51b7

View file

@ -58,7 +58,7 @@ module.exports = {
tls: 'empty'
},
plugins: [
new webpack.NoErrorsPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', filename: '[chunkhash].vendor.js' }),
new WebpackCleanupPlugin(),
new webpack.DefinePlugin({
@ -78,7 +78,6 @@ module.exports = {
new HtmlWebpackPlugin({
template: './src/template.html',
title: 'Maputnik'
}),
new webpack.optimize.DedupePlugin()
})
]
};