diff --git a/build.mjs b/build.mjs index 92f00c79c..e7971eb27 100644 --- a/build.mjs +++ b/build.mjs @@ -67,6 +67,7 @@ const context = await esbuild.context({ outdir: OUT_DIR, platform: "node", plugins: [cleanPlugin, copyDefaultsPlugin, onEndPlugin], + target: ["node20"], }); await context.rebuild();