fix(zod-validator): fix commonjs import problem (#968)
* fix(zod-validator): fix commonjs import problem * add changesetpull/969/head
parent
305f463cf6
commit
b65d5a5861
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@hono/zod-validator': patch
|
||||
---
|
||||
|
||||
fix: fix commonjs import problem
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"type": "commonjs"
|
||||
}
|
|
@ -3,14 +3,13 @@
|
|||
"version": "0.4.2",
|
||||
"description": "Validator middleware using Zod",
|
||||
"type": "module",
|
||||
"main": "dist/index.cjs",
|
||||
"module": "dist/index.js",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
"default": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
|
@ -45,4 +44,4 @@
|
|||
"vitest": "^1.4.0",
|
||||
"zod": "^3.22.4"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue