Commit f51e7cb
build(mcp-server): avoid tsup DTS worker OOM by delegating to tsc --allowJs --emitDeclarationOnly
The 47-entry-point mcp-server bundle causes tsup's rollup-dts worker to
hit ERR_WORKER_OUT_OF_MEMORY on Node 22 / Windows (pre-existing; reproducible
on commits before 0.8.43). Split the build so tsup handles the ESM bundle
and a post-step `tsc --allowJs --emitDeclarationOnly` generates the .d.ts
files. This unblocks the full extension build pipeline.
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent c1f6dab commit f51e7cb
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
0 commit comments