fix(middleware): stop bundling workspace type graphs into .d.ts (avoids dts-gen OOM) (#2339)
This commit is contained in:
parent
5e0249f57f
commit
6312f2a3ec
1 changed files with 36 additions and 19 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue