Commit 593742afbc7c4b11452b9e43a801f8803c5f4b4b
1 parent
b3555785
update locale build file
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
build/webpack.dist.locale.config.js
| @@ -27,6 +27,11 @@ module.exports = { | @@ -27,6 +27,11 @@ module.exports = { | ||
| 27 | 'process.env': { | 27 | 'process.env': { |
| 28 | NODE_ENV: '"production"' | 28 | NODE_ENV: '"production"' |
| 29 | } | 29 | } |
| 30 | + }), | ||
| 31 | + new webpack.optimize.UglifyJsPlugin({ | ||
| 32 | + compress: { | ||
| 33 | + warnings: false | ||
| 34 | + } | ||
| 30 | }) | 35 | }) |
| 31 | ] | 36 | ] |
| 32 | }; | 37 | }; |