Bun
File SystemRuntime & Debugging

Define and replace static globals & constants

The --define flag declares statically-analyzable constants and globals. It replaces all usages of an identifier or property in a JavaScript or TypeScript file