Skip to content

Commit db5e4bc

Browse files
committed
exclude comments from other packages
1 parent 2ac2e00 commit db5e4bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ module.exports = {
2121
optimization: {
2222
minimizer: [new TerserJSPlugin({
2323
extractComments: false,
24+
terserOptions: {
25+
format: {
26+
comments: /addsearch-js-client/i,
27+
}
28+
},
2429
})]
2530
},
2631
resolve: {

0 commit comments

Comments
 (0)