property
CompileBuildOptions.assets
assets?: string[]
Files or directories to embed into the executable under their original relative paths. At runtime they are reachable via node:fs and Bun.file() relative to import.meta.dir.
Equivalent CLI flag: --asset (repeatable)