Skip to content

Commit 072467e

Browse files
committed
Update the esbuild target
1 parent 6ca0ceb commit 072467e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/rolemodel/webpack/templates/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default {
4444
loader: 'esbuild-loader',
4545
options: {
4646
loader: 'jsx',
47-
target: 'es2021'
47+
target: 'esnext'
4848
},
4949
// ES Module has stricter rules than CommonJS, so file extensions must be
5050
// used in import statements. To ease migration from CommonJS to ESM,

0 commit comments

Comments
 (0)