From 260d576fc2c1948549ee2fe7f8514a731bde5721 Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Sat, 11 Jan 2020 16:15:22 +0100 Subject: [PATCH] Exclude comments from webpack build --- webpack.prod.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack.prod.js b/webpack.prod.js index 3dd0b9e..a5842c3 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -14,8 +14,12 @@ module.exports = merge(common, { terserOptions: { compress: { pure_funcs: [ 'console.log' ] + }, + output: { + comments: false, } - } + }, + extractComments: false }) ] },