Skip to content

Commit

Permalink
fix(zod-openapi): Fix incorrect specification of the exports field in…
Browse files Browse the repository at this point in the history
… package.json (#255)
  • Loading branch information
Karibash authored Nov 15, 2023
1 parent 0232214 commit 129f468
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-walls-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hono/zod-openapi': patch
---

Fix incorrect specification of the exports field in package.json
11 changes: 8 additions & 3 deletions packages/zod-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@
},
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"license": "MIT",
Expand Down

0 comments on commit 129f468

Please sign in to comment.