From 2c49fef57c14883fcafd9da64c579d58542da109 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Mon, 9 Mar 2020 19:45:21 +0530 Subject: [PATCH] fix: stop terser from extracting & outputting comments --- webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 956cb6e..c05c835 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -149,6 +149,12 @@ module.exports = { new TerserPlugin({ cache: true, parallel: true, + terserOptions: { + output: { + comments: false, + }, + }, + extractComments: false, }), new ZipPlugin({ path: destPath,