fix: stop terser from extracting and outputting comments

This commit is contained in:
abhijithvijayan 2020-03-09 19:49:15 +05:30
parent 0c0c4bad3c
commit dbedd8c4a1

View File

@ -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'),