From 593742afbc7c4b11452b9e43a801f8803c5f4b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Thu, 9 Nov 2017 17:06:49 +0800 Subject: [PATCH] update locale build file --- build/webpack.dist.locale.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/webpack.dist.locale.config.js b/build/webpack.dist.locale.config.js index d16d088f..1cef4882 100644 --- a/build/webpack.dist.locale.config.js +++ b/build/webpack.dist.locale.config.js @@ -27,6 +27,11 @@ module.exports = { 'process.env': { NODE_ENV: '"production"' } + }), + new webpack.optimize.UglifyJsPlugin({ + compress: { + warnings: false + } }) ] };