We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8076279 commit 536fa74Copy full SHA for 536fa74
package.json
@@ -30,6 +30,11 @@
30
"types": "./dist/index.d.ts",
31
"require": "./dist/index.cjs",
32
"import": "./dist/index.js"
33
+ },
34
+ "./validators/zod": {
35
+ "types": "./dist/validators/zod.d.ts",
36
+ "require": "./dist/validators/zod.cjs",
37
+ "import": "./dist/validators/zod.js"
38
}
39
},
40
"type": "module",
tsup.config.ts
@@ -1,7 +1,7 @@
1
import { defineConfig } from "tsup";
2
3
export default defineConfig({
4
- entry: ["src/index.ts"],
+ entry: ["src/index.ts", "src/validators/zod.ts"],
5
format: ["esm", "cjs"],
6
dts: true,
7
clean: true,
0 commit comments