ts-mcp-template/tsup.config.ts
Jax 94a041d502 chore: migrate template build to tsup
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-13 18:37:42 +08:00

18 lines
311 B
TypeScript

import { defineConfig } from "tsup";
export default defineConfig({
entry: {
index: "src/index.ts",
stdio: "src/stdio.ts",
http: "src/http.ts",
},
format: ["esm"],
platform: "node",
target: "node20",
dts: true,
sourcemap: true,
clean: true,
splitting: false,
outDir: "dist",
});