Skip to content

Commit 7e3ba08

Browse files
fix(client): fix export map for index exports (#137)
1 parent 90a4906 commit 7e3ba08

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,17 @@
113113
"default": "./dist/index.mjs"
114114
},
115115
"./*.mjs": {
116-
"types": "./dist/*.d.ts",
117-
"default": "./dist/*.mjs"
116+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
117+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
118118
},
119119
"./*.js": {
120-
"types": "./dist/*.d.ts",
121-
"default": "./dist/*.js"
120+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
121+
"default": ["./dist/*.js", "./dist/*/index.js"]
122122
},
123123
"./*": {
124-
"types": "./dist/*.d.ts",
125-
"require": "./dist/*.js",
126-
"default": "./dist/*.mjs"
124+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
125+
"require": ["./dist/*.js", "./dist/*/index.js"],
126+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
127127
}
128128
}
129129
}

0 commit comments

Comments
 (0)