Skip to content

Commit

Permalink
chore: use typesVersions workaround for exports in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebarkmin committed May 19, 2021
1 parent 0a7a551 commit 4df55df
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,34 @@
"default": "./dist/esm/system/index.js"
}
},
"typesVersions": {
"*": {
".": [
"./dist/types/index.d.ts"
],
"themes": [
"./dist/types/themes/index.d.ts"
],
"hooks": [
"./dist/types/hooks/index.d.ts"
],
"icons": [
"./dist/types/icons/shade/index.d.ts"
],
"icons/outline": [
"./dist/types/icons/outline/index.d.ts"
],
"icons/shade": [
"./dist/types/icons/shade/index.d.ts"
],
"icons/solid": [
"./dist/types/icons/solid/index.d.ts"
],
"system": [
"./dist/types/system/index.d.ts"
]
}
},
"files": [
"dist",
"README.md"
Expand Down

0 comments on commit 4df55df

Please sign in to comment.