Skip to content

fix(mcp): emit CommonJS build#1

Open
2lll5 wants to merge 1 commit into
sir-ad:mainfrom
2lll5:fix/mcp-cjs-build
Open

fix(mcp): emit CommonJS build#1
2lll5 wants to merge 1 commit into
sir-ad:mainfrom
2lll5:fix/mcp-cjs-build

Conversation

@2lll5

@2lll5 2lll5 commented Jun 9, 2026

Copy link
Copy Markdown

Summary

  • update the MCP package tsup config to emit both ESM and CJS builds
  • makes the existing main / exports.require metadata point to an actual dist/index.cjs artifact

Validation

  • corepack pnpm install --frozen-lockfile
  • corepack pnpm --dir packages/mcp build
  • verified packages/mcp/dist/index.cjs is generated

Related bounty: charles-openclaw/charles-microbounties#632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant