mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01: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({
|
new TerserPlugin({
|
||||||
cache: true,
|
cache: true,
|
||||||
parallel: true,
|
parallel: true,
|
||||||
|
terserOptions: {
|
||||||
|
output: {
|
||||||
|
comments: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
extractComments: false,
|
||||||
}),
|
}),
|
||||||
new ZipPlugin({
|
new ZipPlugin({
|
||||||
path: path.resolve(__dirname, 'extension'),
|
path: path.resolve(__dirname, 'extension'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user