Skip to content

Commit

Permalink
fix: correct exports field in package.json (#279)
Browse files Browse the repository at this point in the history
* fix: correct `exports` field in package.json

* fix: simplify exports

* fix: add types
  • Loading branch information
ocavue committed Sep 2, 2024
1 parent 8196064 commit 8e40d30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"main": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
"import": {
".": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
},
Expand Down

0 comments on commit 8e40d30

Please sign in to comment.