# Standalone compile config for `bun build --compile` / `make dist`. # # This file MUST stay free of a `preload` key: Bun bakes bunfig preloads into # compiled binaries as launch metadata, and `@opentui/solid/preload` (used for # `bun run` dev/test) isn't embedded in the standalone, so a baked-in preload # makes the compiled binary fail at startup with: # error: preload not found "@opentui/solid/preload" # # The solid JSX transform is registered in build.ts itself (`plugin(solidPlugin)`), # so compiling against this config needs no global preload. Invoke as: # BUN_CONFIG=bunfig.standalone.toml bun run build.ts --compile