From 68bef2005e623e185e82b95b51ba87a32e3ff250 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:55:55 +0530 Subject: [PATCH] chore: update esbuild target --- scripts/build.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build.ts b/scripts/build.ts index 2cf1173..b433cd8 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -16,9 +16,10 @@ await esbuild.build({ outfile: 'dist/index.js', bundle: true, format: 'esm', + platform: 'neutral', + target: 'es2022', external: ['prettier'], minify: !!Deno.env.get('CI'), - target: 'node18', }) await Deno.writeTextFile(