Skip to content

Commit 85a0a35

Browse files
committed
chore(react-ui): 调整 package.json 的 exports
1 parent abd79c6 commit 85a0a35

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/react-ui/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@
2424
"exports": {
2525
".": {
2626
"import": {
27+
"types": "./dist/index.d.ts",
2728
"node": "./dist/index.cjs.js",
2829
"default": "./dist/index.es.js"
2930
},
30-
"require": "./dist/index.cjs.js"
31+
"require": {
32+
"types": "./dist/index.d.ts",
33+
"default": "./dist/index.cjs.js"
34+
}
3135
},
3236
"./dist/*": "./dist/*"
3337
},

0 commit comments

Comments
 (0)