Skip to content

Commit

Permalink
Fix exports for React build
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Feb 4, 2024
1 parent 88eb2d3 commit 379e567
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"main": "dist/module/src/index.mjs",
"exports": {
".": "./dist/module/src/index.mjs",
"./react": "./react/dist/module/src/index.mjs",
"./react": {
"main": "./react/dist/module/src/index.mjs",
"types": "./react/types/index.d.ts"
},
"./styles": "./styles/dist/index.mjs"
},
"types": "types/index.d.ts",
Expand Down

0 comments on commit 379e567

Please sign in to comment.