diff options
author | silverwind | 2021-05-19 23:46:30 +0200 |
---|---|---|
committer | GitHub | 2021-05-19 22:46:30 +0100 |
commit | c636ef8f1dbfeabe67168e0d8190d4a54c16860b (patch) | |
tree | 71a28537617f119a63b67f025573d829a35efc85 /webpack.config.js | |
parent | e542b416a700eb27f14b97145bd5f76f43efe2eb (diff) |
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.
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index ec0fa1ad0..9b27bb55a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -86,6 +86,7 @@ export default { target: 'es2015', minify: true, css: true, + legalComments: 'none', }), ], splitChunks: { |