variable
isStandaloneExecutable
const isStandaloneExecutable: boolean
true when the current process is a standalone executable produced by bun build --compile, false otherwise.
Unlike checking Bun.embeddedFiles.length > 0, reading this property does not materialize embedded files as Blob objects.
if (Bun.isStandaloneExecutable) {
console.log("Running from a compiled binary");
}