Files
t3code/apps/server/tsdown.config.ts
T
Julius Marminge 393c52c214 Migrate server entrypoint to Effect CLI runtime modules
- replace `main/index` bootstrap with `bin`, `cli`, `server`, `serverRuntime`, and `serverRpc`
- switch package bin/start targets to `dist/bin.mjs` and add build `--format` support
- split/refresh server and route tests, and add shared RPC contracts for ws transport
2026-03-10 18:23:45 -07:00

15 lines
287 B
TypeScript

import { defineConfig } from "tsdown";
export default defineConfig({
entry: ["src/bin.ts"],
format: ["esm", "cjs"],
checks: {
legacyCjs: false,
},
outDir: "dist",
sourcemap: true,
clean: true,
noExternal: (id) => id.startsWith("@t3tools/"),
inlineOnly: false,
});