fix(middleware): stop bundling workspace type graphs into .d.ts (avoids dts-gen OOM) (#2339)

This commit is contained in:
Felix Weinberger 2026-06-23 10:26:49 +01:00 • committed by GitHub
commit 6312f2a3ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,11 +12,11 @@ export default defineConfig({
shims: true,
dts: {
resolver: 'tsc',
// Keep workspace deps as external imports in the bundled .d.ts instead of
// inlining their type graph — see ../node/tsdown.config.ts for the rationale.
compilerOptions: {
baseUrl: '.',
paths: {
'@modelcontextprotocol/server': ['../server/src/index.ts']
}
paths: {},
preserveSymlinks: true
}
}
});