diff --git a/package.json b/package.json index ecb7a2cf..7fa0ebc1 100644 --- a/package.json +++ b/package.json @@ -82,6 +82,6 @@ ] }, "engines": { - "node": ">= 18" + "node": ">= 16" } } diff --git a/scripts/build.mjs b/scripts/build.mjs index 67f82f14..98ec3cf7 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -42,7 +42,7 @@ async function main() { outdir: "pkg/dist-node", bundle: true, platform: "node", - target: "node18", + target: "node16", format: "cjs", ...sharedOptions, }),