From ca5a69b7021c93241f4df90aeb3aa89df5fff14e Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 22 Aug 2025 13:05:44 +0100 Subject: [PATCH] Specify esbuild target --- build.mjs | 1 + 1 file changed, 1 insertion(+) 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();