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:
1 parent
ceceba279f
commit
ca356d0edb
1 file changed
+1
-1
@@ -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",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user