Skip to content

Commit

Permalink
Add exports.types to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alattalatta committed Jun 29, 2024
1 parent 4819f64 commit ad63f96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pink-eggs-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"k-popo": patch
---

Add exports.types to package.json
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
],
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
"require": "./dist/index.cjs",
"types": "./dist/types.d.ts"
},
"sideEffects": false,
"devDependencies": {
Expand Down

0 comments on commit ad63f96

Please sign in to comment.