From dbedd8c4a1c194895a9408f4c80a6962d9435df6 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Mon, 9 Mar 2020 19:49:15 +0530 Subject: [PATCH] fix: stop terser from extracting and outputting comments --- webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 53056e5..035eb86 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -146,6 +146,12 @@ module.exports = { new TerserPlugin({ cache: true, parallel: true, + terserOptions: { + output: { + comments: false, + }, + }, + extractComments: false, }), new ZipPlugin({ path: path.resolve(__dirname, 'extension'),