Skip to content

Commit 8187b95

Browse files
Revert removal of . exports
1 parent a4a06bb commit 8187b95

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@
1919
"module": "./dist/esm/react/index.js",
2020
"typings": "./dist/esm/react/index.d.ts",
2121
"exports": {
22+
".": {
23+
"import": {
24+
"types": "./dist/esm/react/index.d.ts",
25+
"default": "./dist/esm/react/index.js"
26+
},
27+
"require": {
28+
"types": "./dist/cjs/react/index.d.ts",
29+
"default": "./dist/cjs/react/index.js"
30+
}
31+
},
2232
"./vanilla": {
2333
"import": {
2434
"types": "./dist/esm/vanilla/index.d.ts",

0 commit comments

Comments
 (0)