Bun

interface

CompileBuildOptions

interface CompileBuildOptions

  • autoloadBunfig?: boolean

    Whether to autoload bunfig.toml when the standalone executable runs

    Standalone-only: applies only when building/running the standalone executable.

    Equivalent CLI flags: --compile-autoload-bunfig, --no-compile-autoload-bunfig

  • autoloadDotenv?: boolean

    Whether to autoload .env files when the standalone executable runs

    Standalone-only: applies only when building/running the standalone executable.

    Equivalent CLI flags: --compile-autoload-dotenv, --no-compile-autoload-dotenv

  • execArgv?: string[]
  • outfile?: string
  • windows?: { copyright: string; description: string; hideConsole: boolean; icon: string; publisher: string; title: string; version: string }