Bun
File SystemRuntime & Debugging

Build-time constants with --define

Pass --define to bun build or bun build --compile to inject build-time constants into your application. Use it to embed metadata like build versions,