Skip to content

Commit

Permalink
fix: correctly define exports.types in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderl19 committed Aug 24, 2024
1 parent 64a3198 commit 040c225
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 @@ -9,7 +9,8 @@
"jsdelivr": "./dist/index.umd.js",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"types": "dist/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -48,4 +49,4 @@
"prettier": "^2.8.1",
"typescript": "^4.9.4"
}
}
}

0 comments on commit 040c225

Please sign in to comment.