From f4d7422b23660e381008329bed14b45a5ae2372e Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 17 Sep 2025 08:18:12 -0700 Subject: [PATCH] Update browser target to regain ArrayBuffer functions. --- esbuild/config.mjs | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esbuild/config.mjs b/esbuild/config.mjs index c8abe39..f859d39 100644 --- a/esbuild/config.mjs +++ b/esbuild/config.mjs @@ -14,7 +14,7 @@ const sharedOptions = { }, legalComments: 'inline', outdir: 'dist', - target: 'esnext' + target: 'es2024' } /** diff --git a/tsconfig.json b/tsconfig.json index 2f159a0..10c210a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,10 +15,10 @@ "noFallthroughCasesInSwitch": true, "rootDir": "src", "strict": true, - "target": "es2022", + "target": "es2024", "lib": [ "DOM", - "ES2022" + "ES2024" ] }, "include": [ -- 2.47.3