mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Adds a new `dotenv` boolean field to bunfig.toml that controls whether Bun automatically loads .env files at runtime. When set to false, .env file loading is disabled while process.env still works normally. This is useful for preventing accidental .env file loading in production environments or when using alternative environment variable management. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>