From d70d494b12939b5eaa4fd2d4abefad7b502b67a8 Mon Sep 17 00:00:00 2001 From: Nishant Arora Date: Wed, 11 Jan 2017 21:53:13 +0530 Subject: [PATCH] UglifyJS warnings on production build now hidden --- webpack.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 53944ca..7ae9748 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,7 +18,15 @@ var config = { loader : 'babel' } ] - } + }, + plugins: [ + new webpack.optimize.UglifyJsPlugin({ + compress: { + warnings: false + } + }) + ] }; + module.exports = config;