Skip to content

Commit

Permalink
fix(package): include types in exports map
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Dec 17, 2023
1 parent 0e87358 commit 6bbb46e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"svelte": "./lib/index.js"
},
"./lib/*": "./lib/*"
"./lib/*.svelte": {
"types": "./lib/*.svelte.d.ts",
"import": "./lib/*.svelte"
}
},
"scripts": {
"prepack": "bun test"
Expand Down

0 comments on commit 6bbb46e

Please sign in to comment.