Skip to content

Commit

Permalink
fix: add types to package exports (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink authored Nov 7, 2023
1 parent ea7bdf3 commit 1ab493a
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 @@ -7,8 +7,9 @@
"module": "dist/index.modern.mjs",
"exports": {
".": {
"import": "./dist/index.modern.mjs",
"require": "./dist/index.umd.js"
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.modern.mjs"
},
"./examples.css": "./dist/examples.css"
},
Expand Down

0 comments on commit 1ab493a

Please sign in to comment.