mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 23:01:58 +00:00
Instead of a separate --standalone flag, self-contained HTML output is now triggered by --compile --target=browser (CLI) or compile: true with target: "browser" (Bun.build API). This is more intuitive since --compile already means "produce a single output" and --target=browser clarifies what kind of output. - Remove --standalone CLI flag and standalone Bun.build() option - --compile --target=browser requires ALL entrypoints to be HTML files - Rename internal option to compile_to_standalone_html for clarity - When compile+browser is used, skip bun executable compile path - Update TypeScript types and test suite Co-Authored-By: Claude <noreply@anthropic.com>