Commit 8f7ff5e
committed
Use external wrapper for zod import
Import zod from './external/zod' wrapper instead of directly from 'zod'.
This follows the same pattern as other external dependencies like cacache.
The external/zod.js wrapper uses CommonJS module.exports pattern which:
- Works correctly in regular Node.js environment
- Gets bundled by build-externals.mjs for production
- Still has resolution issues in vitest test environment
Note: ipc.test.ts still fails due to vitest/CommonJS interop issue.1 parent b249f91 commit 8f7ff5e
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments