diff --git a/webpack.prod.js b/webpack.prod.js index 42d48c6..8397558 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -26,6 +26,7 @@ module.exports = { ] }, plugins: [ + new webpack.optimize.UglifyJsPlugin(), new webpack.optimize.CommonsChunkPlugin({ name: 'vendor' // Specify the common bundle's name. }),