mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 14:52:49 +01:00
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.
This commit is contained in:
parent
e542b416a7
commit
c636ef8f1d
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ export default {
|
|||
target: 'es2015',
|
||||
minify: true,
|
||||
css: true,
|
||||
legalComments: 'none',
|
||||
}),
|
||||
],
|
||||
splitChunks: {
|
||||
|
|
Loading…
Reference in a new issue