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 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Opus 4.6 committed 2026-02-11 12:33:27 -08:00
1 parent ceceba279f
commit ca356d0edb
1 file changed
+1 -1
+1 -1
View File
@@ -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",
},