The best way to control Claude Code, Codex and more from any computer or phone
Fix server build: add zod to noExternal to prevent tsdown error
tsdown v0.20.3 errors when it detects undeclared dependencies in the bundle. Since @t3tools/contracts (already in noExternal) transitively pulls in zod, explicitly declare it to avoid the build failure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Julius Marminge committed
Feb 11, 2026 at 12:33 UTC
ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6
1 file changed
+1
-1
apps/server/tsdown.config.ts
+1
-1
@@ -6,7 +6,7 @@ export default defineConfig({
6
outDir: "dist",
7
sourcemap: true,
8
clean: true,
9
- noExternal: ["@t3tools/contracts"],
9
+ noExternal: ["@t3tools/contracts", "zod"],
10
banner: {
11
js: "#!/usr/bin/env node\n",
12
},