tsup.config.ts•555 B
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/**/*.ts', 'src/endpoints.json'],
format: ['esm'],
target: 'es2020',
outDir: 'dist',
clean: true,
bundle: false,
splitting: false,
sourcemap: false,
dts: false,
publicDir: false,
onSuccess: 'chmod +x dist/index.js',
loader: {
'.json': 'copy',
},
noExternal: [],
external: [
'@azure/msal-node',
'@modelcontextprotocol/sdk',
'commander',
'dotenv',
'express',
'js-yaml',
'keytar',
'winston',
'zod',
],
});