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