We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1cf65e commit b036bb9Copy full SHA for b036bb9
webpack.config.prod.js
@@ -91,6 +91,18 @@ module.exports = {
91
}),
92
new webpack.DefinePlugin({ 'process.env.NODE_ENV': '"production"' }),
93
new webpack.optimize.OccurrenceOrderPlugin(),
94
- new webpack.optimize.UglifyJsPlugin({ compressor: { warnings: false } })
+ new webpack.optimize.UglifyJsPlugin({
95
+ compressor: {
96
+ screw_ie8: true,
97
+ warnings: false
98
+ },
99
+ mangle: {
100
+ screw_ie8: true
101
102
+ output: {
103
+ comments: false,
104
105
+ }
106
+ })
107
]
108
};
0 commit comments