From 51cda74a0dda42e2f23a0d4b8d79cd1b95bfb885 Mon Sep 17 00:00:00 2001 From: David Mason Date: Tue, 9 Jun 2015 16:10:40 +1000 Subject: [PATCH] Prevent verbose output in frontend build --- .../src/main/web/user-profile-page/webpack.prod.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/main/web/user-profile-page/webpack.prod.config.js b/frontend/src/main/web/user-profile-page/webpack.prod.config.js index d43d3d6823..69dec4a07d 100644 --- a/frontend/src/main/web/user-profile-page/webpack.prod.config.js +++ b/frontend/src/main/web/user-profile-page/webpack.prod.config.js @@ -31,7 +31,11 @@ module.exports = { plugins: [ new webpack.DefinePlugin({ "global.GENTLY": false }), new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), - new webpack.optimize.UglifyJsPlugin(), + new webpack.optimize.UglifyJsPlugin({ + compress: { + warnings: false + } + }), new webpack.optimize.DedupePlugin(), new webpack.DefinePlugin({ "process.env": {