Skip to content

Commit

Permalink
Pass es2020 to esbuild-loader as well (#29027)
Browse files Browse the repository at this point in the history
Followup #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 authored Feb 2, 2024
1 parent 3aed8ae commit 8f9f0e4
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 8f9f0e4

Please sign in to comment.