Skip to content

Commit

Permalink
Update ESBuild target to ES2020
Browse files Browse the repository at this point in the history
  • Loading branch information
eliot-akira committed Jul 24, 2023
1 parent c5b3423 commit 0179c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function createOptionsForTaskType(config, task) {
include: /\.[jt]sx?$/,
exclude: /node_modules/,

target: 'es2017', // default, or 'es20XX', 'esnext'
target: 'es2020', // default, or 'es20XX', 'esnext'

sourceMap: true,
minify: !isDev,
Expand Down

0 comments on commit 0179c9f

Please sign in to comment.