Skip to content

Commit

Permalink
fix: stop terser from extracting and outputting comments
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijithvijayan committed Mar 9, 2020
1 parent 8b16025 commit 5eeec40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ module.exports = {
new TerserPlugin({
cache: true,
parallel: true,
terserOptions: {
output: {
comments: false,
},
},
extractComments: false,
}),
new ZipPlugin({
path: destPath,
Expand Down

0 comments on commit 5eeec40

Please sign in to comment.