From 446943755b16a126de0893efd3063664c1531391 Mon Sep 17 00:00:00 2001 From: "Lukas Schneider (Neo Reply)" <131265055+neo-reply-lukas@users.noreply.github.com> Date: Tue, 28 Apr 2026 11:50:41 +0200 Subject: [PATCH] fix(package.json): Wrong file names on adjusted exports from package.json (#249) * fixed filename in exports * Fixed filenames to correctly reflect es5.js files in logs and stats (Only a Cosmetic correction) --- esbuild.config.mjs | 8 ++++---- package.json | 2 +- proxy/package.json | 2 +- 3 files changed, 6 insertions(+), 6 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!') 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" }