mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 03:18:53 +00:00
This commit adds support for the `compile: boolean | "${platform}-${arch}"` option in `Bun.build` by:
1. Adding new BuildPlatform and BuildArchitecture type definitions
2. Creating a BuildTarget type that supports various formats
3. Updating the BuildConfig interface with separate compile and targets options
4. Adding comprehensive tests for the compile functionality
This addresses part of the PR requirements and makes the API more flexible
and future-proof by supporting multiple target formats.
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com>
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>