Skip to content

fix: align runtime option names - #761

Merged
huozhi merged 1 commit into
mainfrom
fix/runtime-option-normalization
Jul 31, 2026
Merged

fix: align runtime option names#761
huozhi merged 1 commit into
mainfrom
fix/runtime-option-normalization

Conversation

@huozhi

@huozhi huozhi commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • make node the documented Node.js runtime name across the CLI, docs, and public types
  • restrict runtime values to browser and node, correcting the previously documented but unsupported nodejs value
  • preserve the existing behavior when the programmatic runtime option is omitted

Tests

  • pnpm test src/typing.test.ts
  • pnpm typecheck
  • pnpm build

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bunchee Ready Ready Preview Jul 31, 2026 12:32pm

Request Review

@huozhi
huozhi force-pushed the fix/runtime-option-normalization branch from a149e25 to b15c7bc Compare July 31, 2026 12:32
@huozhi huozhi changed the title fix: normalize runtime option names fix: align runtime option names Jul 31, 2026
@huozhi
huozhi merged commit c66b73c into main Jul 31, 2026
6 checks passed
@huozhi
huozhi deleted the fix/runtime-option-normalization branch July 31, 2026 12:48
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