Skip to content

Commit

Permalink
changed minimum node version to 18.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Elius94 committed Sep 26, 2023
1 parent c8bd319 commit d58c9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (nodeMajor < 14 || (nodeMajor === 14 && nodeMinor < 17)) {
process.exit(1)
}

let target = ["node14.17", "es2020"]
let target = ["node18.18", "es2020"]
if (nodeMajor === 14 && nodeMinor >= 17) {
target = [`node${nodeMajor}.${nodeMinor}`, "es2020"]
} else if ((nodeMajor === 15 && nodeMinor >= 14) || (nodeMajor >= 16 && nodeMajor < 17)) {
Expand Down

0 comments on commit d58c9a6

Please sign in to comment.