Skip to content

Commit 647ba7a

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
fix(client): fix export map for index exports (#1328)
1 parent f989746 commit 647ba7a

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
@@ -112,17 +112,17 @@
112112
"default": "./dist/index.mjs"
113113
},
114114
"./*.mjs": {
115-
"types": "./dist/*.d.ts",
116-
"default": "./dist/*.mjs"
115+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
116+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
117117
},
118118
"./*.js": {
119-
"types": "./dist/*.d.ts",
120-
"default": "./dist/*.js"
119+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
120+
"default": ["./dist/*.js", "./dist/*/index.js"]
121121
},
122122
"./*": {
123-
"types": "./dist/*.d.ts",
124-
"require": "./dist/*.js",
125-
"default": "./dist/*.mjs"
123+
"types": ["./dist/*.d.ts", "./dist/*/index.d.ts"],
124+
"require": ["./dist/*.js", "./dist/*/index.js"],
125+
"default": ["./dist/*.mjs", "./dist/*/index.mjs"]
126126
}
127127
},
128128
"bin": "./bin/cli",

0 commit comments

Comments
 (0)