| author | |
| committer | |
| log | ca356d0edb7860ef0db4bc531fa37a90a5e9e7f6 |
| tree | 19008da6ba9e0b4f881a004bfef365c6943f9e2e |
| parent | ceceba279fe9412f19121ea939d74572249d5020 |
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>1 files changed, 1 insertions(+), 1 deletions(-)
apps/server/tsdown.config.ts+1-1| ... | ... | @@ -6,7 +6,7 @@ export default defineConfig({ |
| 6 | 6 | outDir: "dist", |
| 7 | 7 | sourcemap: true, |
| 8 | 8 | clean: true, |
| 9 | noExternal: ["@t3tools/contracts"], | |
| 9 | noExternal: ["@t3tools/contracts", "zod"], | |
| 10 | 10 | banner: { |
| 11 | 11 | js: "#!/usr/bin/env node\n", |
| 12 | 12 | }, |