Skip to content

Commit 8f9f0e4

Browse files
authored
Pass es2020 to esbuild-loader as well (#29027)
Followup #28977. I forgot to pass the updated option to esbuild-loader, e.g. previously it was only passed to the minifier.
1 parent 3aed8ae commit 8f9f0e4

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)