forked from Shiloh/githaven
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:
parent
3aed8ae034
commit
8f9f0e4ab2
@ -135,7 +135,7 @@ export default {
|
||||
loader: 'esbuild-loader',
|
||||
options: {
|
||||
loader: 'js',
|
||||
target: 'es2015',
|
||||
target: 'es2020',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user