From da82a67abccee57dec1971e374a3d699b1186dc0 Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Tue, 1 Mar 2016 19:59:43 +0000 Subject: [PATCH] Remove JS comments from prod build --- webpack.config.prod.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webpack.config.prod.js b/webpack.config.prod.js index 2c280b8..b75b670 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -22,9 +22,8 @@ module.exports = { } }), new webpack.optimize.UglifyJsPlugin({ - compressor: { - warnings: false - } + compressor: { warnings: false }, + comments: false }), new ExtractTextPlugin('app.css') ],