From f95aacdee77d700dc7c65fbe447e02a24de6d3e0 Mon Sep 17 00:00:00 2001 From: Lukas Schneider Date: Fri, 24 Apr 2026 13:57:38 +0200 Subject: [PATCH 1/2] fixed filename in exports --- package.json | 2 +- proxy/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9b23f4b..3823704 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "import": "./dist/fsxa-api.esm.js", + "import": "./dist/fsxa-api.es5.js", "require": "./dist/fsxa-api.cjs.js", "default": "./dist/fsxa-api.cjs.js" } diff --git a/proxy/package.json b/proxy/package.json index ccc6873..e7e3bef 100644 --- a/proxy/package.json +++ b/proxy/package.json @@ -13,7 +13,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "import": "./dist/fsxa-proxy-api.csm.js", + "import": "./dist/fsxa-proxy-api.es5.js", "require": "./dist/fsxa-proxy-api.cjs.js", "default": "./dist/fsxa-proxy-api.cjs.js" } From 0de21560f021dd534ed7fe1292cc51fddf5f7f59 Mon Sep 17 00:00:00 2001 From: Lukas Schneider Date: Fri, 24 Apr 2026 13:58:45 +0200 Subject: [PATCH 2/2] Fixed filenames to correctly reflect es5.js files in logs and stats (Only a Cosmetic correction) --- esbuild.config.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esbuild.config.mjs b/esbuild.config.mjs index b29a557..76036e0 100644 --- a/esbuild.config.mjs +++ b/esbuild.config.mjs @@ -76,7 +76,7 @@ await esbuild.build({ format: 'esm', plugins: [ AnalyzerPlugin({ - outfile: 'stats/fsxa-api-esm.html', + outfile: 'stats/fsxa-api-es5.html', }) ], }) @@ -105,7 +105,7 @@ await esbuild.build({ format: 'esm', plugins: [ AnalyzerPlugin({ - outfile: 'stats/fsxa-proxy-api-esm.html', + outfile: 'stats/fsxa-proxy-api-es5.html', }) ], }) @@ -135,7 +135,7 @@ console.log('─'.repeat(60)) console.log('\nāœ“ Bundle analysis reports generated:') console.log(' - stats/fsxa-api-cjs.html') -console.log(' - stats/fsxa-api-esm.html') +console.log(' - stats/fsxa-api-es5.html') console.log(' - stats/fsxa-proxy-api-cjs.html') -console.log(' - stats/fsxa-proxy-api-esm.html') +console.log(' - stats/fsxa-proxy-api-es5.html') console.log('\nBuild complete!')