tsdown.config.tsā¢514 B
import { defineConfig } from "tsdown";
export default defineConfig({
entry: ["src/index.ts"],
format: ["esm"],
dts: false,
sourcemap: false,
clean: true,
outDir: "build",
platform: "node",
target: "node18",
shims: true,
noExternal: [],
// Bundle everything except node_modules
external: ["@modelcontextprotocol/sdk", "axios", "zod"],
esbuildOptions(options) {
// Banner will be added automatically by tsdown for entry files
// Don't add it manually to avoid duplication
},
});