From: Chris Duncan Date: Wed, 17 Sep 2025 15:18:12 +0000 (-0700) Subject: Update browser target to regain ArrayBuffer functions. X-Git-Tag: v0.10.5~12^2~44 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=f4d7422b23660e381008329bed14b45a5ae2372e;p=libnemo.git Update browser target to regain ArrayBuffer functions. --- 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": [