1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05: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:
silverwind 2021-05-19 23:46:30 +02:00 committed by GitHub
parent e542b416a7
commit c636ef8f1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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