Skip to content

Commit

Permalink
fix types and exports
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Feb 10, 2024
1 parent b4f394f commit 5b154f5
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 63 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"exports": {
"import": {
"types": "./dist/index.d.mts",
"require": "./dist/index.mjs"
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js"
"default": "./dist/index.js"
}
},
"scripts": {
Expand Down Expand Up @@ -47,6 +47,7 @@
"@playwright/test": "^1.37.1",
"@radix-ui/react-dialog": "^1.0.4",
"@types/node": "20.5.7",
"@types/react": "18.2.55",
"@types/react-dom": "18.2.18",
"bunchee": "^4.4.6",
"eslint": "^7.32.0",
Expand Down
Loading

0 comments on commit 5b154f5

Please sign in to comment.