Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00

Pass es2020 to esbuild-loader as well (#29027)

Followup https://github.com/go-gitea/gitea/pull/28977. I forgot to pass
the updated option to esbuild-loader, e.g. previously it was only passed
to the minifier.
This commit is contained in:
silverwind 2024-02-02 15:01:32 +01:00 committed by GitHub
parent 3aed8ae034
commit 8f9f0e4ab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,7 +135,7 @@ export default {
loader: 'esbuild-loader',
options: {
loader: 'js',
target: 'es2015',
target: 'es2020',
},
},
],