build config

This commit is contained in:
cookfront
2017-02-26 13:34:49 +08:00
parent 7bfc4f4323
commit fc572191cd
4 changed files with 40 additions and 7 deletions
+6 -2
View File
@@ -88,8 +88,12 @@ if (process.env.NODE_ENV === 'production') {
}),
new ExtractTextPlugin(`yzvue_base_${version}_min.css`),
new webpack.optimize.UglifyJsPlugin({
compress: {warnings: false},
output: {comments: false},
compress: {
warnings: false
},
output: {
comments: false
},
sourceMap: false
}),
new webpack.LoaderOptionsPlugin({