From ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Wed, 11 Feb 2026 12:33:27 -0800 Subject: [PATCH] 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 --- apps/server/tsdown.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/tsdown.config.ts b/apps/server/tsdown.config.ts index b7506f6a0be0aabb41bbdf854095d03038855a8e..ffd0a1ed623af61c688038bd6471e4f6ce41d8f7 100644 --- a/apps/server/tsdown.config.ts +++ b/apps/server/tsdown.config.ts @@ -6,7 +6,7 @@ export default defineConfig({ outDir: "dist", sourcemap: true, clean: true, - noExternal: ["@t3tools/contracts"], + noExternal: ["@t3tools/contracts", "zod"], banner: { js: "#!/usr/bin/env node\n", }, -- 2.54.0