Skip to content

Commit

Permalink
Disable legal comments in esbuild (#15929)
Browse files Browse the repository at this point in the history
We already serve licenses.txt so we don't need these inline comments
preserved during esbuild minification. Saves around 4kB before gzip.
  • Loading branch information
silverwind authored May 19, 2021
1 parent e542b41 commit c636ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export default {
target: 'es2015',
minify: true,
css: true,
legalComments: 'none',
}),
],
splitChunks: {
Expand Down

0 comments on commit c636ef8

Please sign in to comment.