Skip to content

Commit

Permalink
fix(pkg): add type decl in conditional exports (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
rektdeckard committed Mar 29, 2024
1 parent 036f857 commit 9232b6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
},
"main": "./dist/index.umd.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts"
},
"./assets/bold/*.svg": "./assets/bold/*.svg",
"./assets/duotone/*.svg": "./assets/duotone/*.svg",
Expand All @@ -28,7 +30,6 @@
"./regular/*.svg": "./assets/regular/*.svg",
"./thin/*.svg": "./assets/thin/*.svg"
},
"types": "./dist/index.d.ts",
"author": {
"name": "Tobias Fried",
"email": "[email protected]",
Expand Down

0 comments on commit 9232b6f

Please sign in to comment.