Skip to content

Commit 9d66903

Browse files
committed
Pass es2020 to esbuild-loader as well (go-gitea#29027)
Followup go-gitea#28977. I forgot to pass the updated option to esbuild-loader, e.g. previously it was only passed to the minifier.
1 parent c45c5ff commit 9d66903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default {
135135
loader: 'esbuild-loader',
136136
options: {
137137
loader: 'js',
138-
target: 'es2015',
138+
target: 'es2020',
139139
},
140140
},
141141
],

0 commit comments

Comments
 (0)