diff --git a/packages/builder/package.json b/packages/builder/package.json index 8912bb8c..6ff14847 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -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": { diff --git a/packages/config/package.json b/packages/config/package.json index f9e5fdf5..11b5ba31 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -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": { diff --git a/packages/mrl/package.json b/packages/mrl/package.json index 02b3c477..5d643d18 100644 --- a/packages/mrl/package.json +++ b/packages/mrl/package.json @@ -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": { diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 2699878e..e89620ec 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -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": { diff --git a/packages/types/package.json b/packages/types/package.json index 0e4583ec..eeddfa85 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -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": { diff --git a/packages/utils/package.json b/packages/utils/package.json index 14643d2b..3c5040b3 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -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": {