Skip to content

Commit 5c55921

Browse files
committed
fix(jsr): Make zod an optional dependency, not a dynamic import
1 parent 9232d79 commit 5c55921

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/adapters/zod-schema-adapter.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
* Contains a schema adapter for app's using [`zod`](https://npmjs.com/package/zod).
33
* @module
44
*/
5+
import { z } from "zod";
56
import type { SchemaAdapter } from "../types";
67

7-
const zod = "zod";
8-
const { z } = await import(zod);
9-
108
/**
119
* Usage:
1210
*

0 commit comments

Comments
 (0)