tsconfig.json bun:bundle Path Mapping

Description

TypeScript compiler path mapping in tsconfig.json: "bun:bundle": ["./src/types/bun-bundle.d.ts"] which resolves the bundle import for type-checking only. It yields the compile-time feature() signature without providing a runtime implementation — runtime resolution is handled separately by the esbuild alias pointing to src/shims/bun-bundle.ts. Rebuild instruction explicitly forbids touching tsconfig — the type stub is correct for tsc.

Key claims

Relations

Sources

src-20260420-33991f80c88d src-20260420-5444205c5d32