build: configure tsdown to output both ESM and CJS#2033
Conversation
|
|
Nevermind. Fixed. |
This solves an OOM issue with rolldown and this project structure, which btw I cannot debug further. Will remain a mistery.
@modelcontextprotocol/client
@modelcontextprotocol/server
@modelcontextprotocol/express
@modelcontextprotocol/fastify
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
|
Could a collaborator replay the failed action? That looks like a network issue unrelated to the change. |
Motivation and Context
The SDK v2 needs proper packaging for both ESM and CJS consumers.
tsdowncan easily do that, but was not properly configured.Each module system's output is isolated into its own
dist/{module-system}subdir.Fixes #971
How Has This Been Tested?
Breaking Changes
There is no "obvious" breaking change that I can think of.
Types of changes
Checklist
Additional context
No AI-assistant was involved in the changes. If something's broken it's my fault.