Skip to content

Commit 193bc2e

Browse files
author
jodeleit-es
committed
esm bundle name fix, add default fallback condition in export
1 parent c3cb570 commit 193bc2e

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"exports": {
77
".": {
88
"types": "./dist/types/index.d.ts",
9-
"import": "./dist/fsxa-api.es5.js",
10-
"require": "./dist/fsxa-api.cjs.js"
9+
"import": "./dist/fsxa-api.esm.js",
10+
"require": "./dist/fsxa-api.cjs.js",
11+
"default": "./dist/fsxa-api.cjs.js"
1112
}
1213
},
1314
"author": "Tobias Golbs <golbs@e-spirit.com>",

proxy/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
"exports": {
1414
".": {
1515
"types": "./dist/types/index.d.ts",
16-
"import": "./dist/fsxa-proxy-api.es5.js",
17-
"require": "./dist/fsxa-proxy-api.cjs.js"
16+
"import": "./dist/fsxa-proxy-api.csm.js",
17+
"require": "./dist/fsxa-proxy-api.cjs.js",
18+
"default": "./dist/fsxa-proxy-api.cjs.js"
1819
}
1920
},
2021
"scripts": {

0 commit comments

Comments
 (0)