Bun-Specific API Stubs

Description

Compatibility stubs under src/shims/ replacing Bun-native APIs (e.g. Bun.hash, Bun.file) with Node-compatible equivalents so the esbuild-bundled output runs under plain Node 20+ without depending on the Bun runtime. Documented as the preferred strategy during rebuild whenever modules reference Bun-specific globals that can't be trivially polyfilled by esbuild.

Key claims

Relations

Sources

src-20260420-5444205c5d32