bunfig.toml preload + alias Configuration
- Entity ID:
ent-20260420-dv14c0000r0 - Type:
file - Scope:
shared - Status:
active - Aliases: bunfig.toml
Description
Bun configuration file used to register dev-mode shims. Two forms: a [resolve] alias mapping bun:bundle to src/shims/bun-bundle.ts, or a top-level preload = [./scripts/bun-plugin-shims.ts] that installs a Bun plugin which intercepts resolution.
Key claims
- bun:bundle cannot be imported at runtime without a shim hook
- Vitest config re-uses the bun:bundle shim path as its dev runner
Relations
- scripts/dev.ts Development Launcher --[depends_on]--> bunfig.toml preload + alias Configuration
- bunfig.toml preload + alias Configuration --[informed_by]--> bun:bundle Runtime Resolution Problem