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

AI 샘플 코드 생성 중입니다

Loading...

View File

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