# Fix server build: add zod to noExternal to prevent tsdown error · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6

Requested commit: ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6

Commit: ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6

Tree: 19008da6ba9e0b4f881a004bfef365c6943f9e2e

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
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>

```

## Parents

- [ceceba279fe9412f19121ea939d74572249d5020](https://git.cafe/pingdotgg/t3code/commit/ceceba279fe9412f19121ea939d74572249d5020?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6?format=markdown)
