Skip to content

Commit

Permalink
Types exports
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoz committed Mar 9, 2024
1 parent ea8b1fb commit cd25c0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
"unpkg": "dist/index.global.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./types/index.d.ts"
"import": "./dist/index.mjs"
},
"./global": "./dist/index.global.js"
"./global": "./dist/index.global.js",
"./*": {
"types": "./types/*"
}
},
"files": [
"dist/*.cjs",
Expand Down
9 changes: 6 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
"unpkg": "dist/index.global.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./types/index.d.ts"
"import": "./dist/index.mjs"
},
"./global": "./dist/index.global.js"
"./global": "./dist/index.global.js",
"./*": {
"types": "./types/*"
}
},
"files": [
"dist/*.cjs",
Expand Down

0 comments on commit cd25c0e

Please sign in to comment.