mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
fix: stop terser from extracting and outputting comments
This commit is contained in:
parent
0c0c4bad3c
commit
dbedd8c4a1
@ -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'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user