Skip to content

Commit 849a10d

Browse files
fix(client): fix export map for index exports (#1328)
1 parent 64379d2 commit 849a10d

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
@@ -107,17 +107,17 @@
107107
"default": "./dist/index.mjs"
108108
},
109109
"./*.mjs": {
110-
"types": "./dist/*.d.ts",
111-
"default": "./dist/*.mjs"
110+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
111+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
112112
},
113113
"./*.js": {
114-
"types": "./dist/*.d.ts",
115-
"default": "./dist/*.js"
114+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
115+
"default": ["./dist/*.js", "./dist/*/index.js"]
116116
},
117117
"./*": {
118-
"types": "./dist/*.d.ts",
119-
"require": "./dist/*.js",
120-
"default": "./dist/*.mjs"
118+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
119+
"require": ["./dist/*.js", "./dist/*/index.js"],
120+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
121121
}
122122
}
123123
}

0 commit comments

Comments
 (0)