Skip to content

Commit 228c810

Browse files
fix(client): fix export map for index exports (#545)
1 parent 22dbea3 commit 228c810

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,17 @@
108108
"default": "./dist/index.mjs"
109109
},
110110
"./*.mjs": {
111-
"types": "./dist/*.d.ts",
112-
"default": "./dist/*.mjs"
111+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
112+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
113113
},
114114
"./*.js": {
115-
"types": "./dist/*.d.ts",
116-
"default": "./dist/*.js"
115+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
116+
"default": ["./dist/*.js", "./dist/*/index.js"]
117117
},
118118
"./*": {
119-
"types": "./dist/*.d.ts",
120-
"require": "./dist/*.js",
121-
"default": "./dist/*.mjs"
119+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
120+
"require": ["./dist/*.js", "./dist/*/index.js"],
121+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
122122
}
123123
}
124124
}

0 commit comments

Comments
 (0)