define

Pdefine
Bun

Symbol

TranspilerOptions.define

define?: Record<string, string>

Replace key with value. Value must be a JSON string.

 { "process.env.NODE_ENV": "\"production\"" }