Skip to content

Commit

Permalink
fix(package): export types correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikMichelson committed Jun 18, 2024
1 parent 925789c commit 65a549a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@
"type": "module",
"source": "src/index.ts",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
".": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json",
"./dist/index.d.ts": "./dist/index.d.ts"
},
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
Expand Down

0 comments on commit 65a549a

Please sign in to comment.