Skip to content

Commit

Permalink
try to fix build and type exports (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rihyx authored Nov 15, 2024
1 parent 666821b commit 29c1a67
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
6 changes: 5 additions & 1 deletion packages/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
"homepage": "https://moonbeam-foundation.github.io/xcm-sdk/latest",
"files": ["build"],
"type": "module",
"exports": "./build/index.mjs",
"exports": {
"import": "./build/index.mjs",
"types": "./build/index.d.ts",
"default": "./build/index.mjs"
},
"types": "./build/index.d.ts",
"main": "./build/index.mjs",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
"homepage": "https://moonbeam-foundation.github.io/xcm-sdk/latest",
"files": ["build"],
"type": "module",
"exports": "./build/index.mjs",
"exports": {
"import": "./build/index.mjs",
"types": "./build/index.d.ts",
"default": "./build/index.mjs"
},
"types": "./build/index.d.ts",
"main": "./build/index.mjs",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/mrl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
"homepage": "https://moonbeam-foundation.github.io/xcm-sdk/latest",
"files": ["build"],
"type": "module",
"exports": "./build/index.mjs",
"exports": {
"import": "./build/index.mjs",
"types": "./build/index.d.ts",
"default": "./build/index.mjs"
},
"types": "./build/index.d.ts",
"main": "./build/index.mjs",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@
"homepage": "https://moonbeam-foundation.github.io/xcm-sdk/latest",
"files": ["build"],
"type": "module",
"exports": "./build/index.mjs",
"exports": {
"import": "./build/index.mjs",
"types": "./build/index.d.ts",
"default": "./build/index.mjs"
},
"types": "./build/index.d.ts",
"main": "./build/index.mjs",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
"homepage": "https://moonbeam-foundation.github.io/xcm-sdk/latest",
"files": ["build"],
"type": "module",
"exports": "./build/index.mjs",
"exports": {
"import": "./build/index.mjs",
"types": "./build/index.d.ts",
"default": "./build/index.mjs"
},
"types": "./build/index.d.ts",
"main": "./build/index.mjs",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
"homepage": "https://moonbeam-foundation.github.io/xcm-sdk/latest",
"files": ["build"],
"type": "module",
"exports": "./build/index.mjs",
"exports": {
"import": "./build/index.mjs",
"types": "./build/index.d.ts",
"default": "./build/index.mjs"
},
"types": "./build/index.d.ts",
"main": "./build/index.mjs",
"dependencies": {
Expand Down

0 comments on commit 29c1a67

Please sign in to comment.