Skip to content

Commit 0bbfc1c

Browse files
committedJan 23, 2024
fix(react): use proper export mapping for ESM
1 parent 70a9d65 commit 0bbfc1c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎packages/react/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
"typings": "dist/index.d.ts",
1010
"type": "module",
1111
"exports": {
12-
"types": "./dist/index.d.ts",
13-
"import": "./dist/index.js"
12+
"import": {
13+
"types": "./dist/index.d.ts",
14+
"default": "./dist/index.js"
15+
}
1416
},
1517
"sideEffects": [
1618
"./dist/index.js"

0 commit comments

Comments
 (0)