aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-02-02 15:01:32 +0100
committerGitHub <noreply@github.com>2024-02-02 15:01:32 +0100
commit8f9f0e4ab29c5b95b113c5382e8dc3e42e55a285 (patch)
treeaeb2f2529b01bd176949b8b3c46ce6138c302ad4 /webpack.config.js
parent3aed8ae03475a430c0dc8e33f42fa9269a4844bd (diff)
downloadgitea-8f9f0e4ab29c5b95b113c5382e8dc3e42e55a285.tar.gz
gitea-8f9f0e4ab29c5b95b113c5382e8dc3e42e55a285.zip
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.
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 00a075cf52..c4b140a12b 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -135,7 +135,7 @@ export default {
loader: 'esbuild-loader',
options: {
loader: 'js',
- target: 'es2015',
+ target: 'es2020',
},
},
],