fix: stop terser from extracting & outputting comments

This commit is contained in:
abhijithvijayan 2020-03-09 19:45:21 +05:30
parent 65ad1eb6bc
commit 2c49fef57c

View File

@ -149,6 +149,12 @@ module.exports = {
new TerserPlugin({ new TerserPlugin({
cache: true, cache: true,
parallel: true, parallel: true,
terserOptions: {
output: {
comments: false,
},
},
extractComments: false,
}), }),
new ZipPlugin({ new ZipPlugin({
path: destPath, path: destPath,