FriendlyErrorsPlugin()
new webpack.DefinePlugin({
…ENV_CONFIG,
prd: true
})
new webpack.optimize.UglifyJsPlugin({
mangle: true,
compress: {
warnings: false,
pure_getters: true,
unsafe: true,
unsafe_comps: true,
screw_ie8: true
},
output: { comments: false }
}),