PautoloadPackageJson
Bun

property

CompileBuildOptions.autoloadPackageJson

autoloadPackageJson?: boolean

Whether to autoload package.json when the standalone executable runs

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

Equivalent CLI flags: --compile-autoload-package-json, --no-compile-autoload-package-json