Skip to content

Commit

Permalink
Pass es2020 to esbuild-loader as well (go-gitea#29027)
Browse files Browse the repository at this point in the history
Followup go-gitea#28977. I forgot to pass
the updated option to esbuild-loader, e.g. previously it was only passed
to the minifier.
  • Loading branch information
silverwind committed Feb 20, 2024
1 parent c45c5ff commit 9d66903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default {
loader: 'esbuild-loader',
options: {
loader: 'js',
target: 'es2015',
target: 'es2020',
},
},
],
Expand Down

0 comments on commit 9d66903

Please sign in to comment.