tsdown escalates warnings to errors when CI=true. Adding inlineOnly: false suppresses the bundled-dependency warning since we intentionally inline contracts and zod. Co-Authored-By: Claude Opus 4.6 <[email protected]>
15 lines
295 B
TypeScript
15 lines
295 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["esm", "cjs"],
|
|
outDir: "dist",
|
|
sourcemap: true,
|
|
clean: true,
|
|
noExternal: ["@t3tools/contracts", "zod"],
|
|
inlineOnly: false,
|
|
banner: {
|
|
js: "#!/usr/bin/env node\n",
|
|
},
|
|
});
|