import { defineConfig } from 'tsdown'; export default defineConfig({ failOnWarn: 'ci-only', entry: ['src/index.ts', 'src/sse/index.ts', 'src/auth/index.ts'], format: ['esm'], outDir: 'dist', clean: true, sourcemap: true, target: 'esnext', platform: 'node', shims: true, dts: { resolver: 'tsc', compilerOptions: { baseUrl: '.', paths: { '@modelcontextprotocol/core': ['../core/src/index.ts'], '@modelcontextprotocol/core/public': ['../core/src/exports/public/index.ts'] } } }, noExternal: ['@modelcontextprotocol/core'] });