Browse Source

Disable legal comments in esbuild (#15929)

We already serve licenses.txt so we don't need these inline comments
preserved during esbuild minification. Saves around 4kB before gzip.
master
silverwind 2 years ago
committed by GitHub
parent
commit
c636ef8f1d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      webpack.config.js

1
webpack.config.js

@ -86,6 +86,7 @@ export default {
target: 'es2015',
minify: true,
css: true,
legalComments: 'none',
}),
],
splitChunks: {

Loading…
Cancel
Save