mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
Adds a new boolean configuration option `env.autoExpand` to control whether
environment variables are expanded in .env files. This allows users to
disable variable expansion when they want literal dollar signs preserved.
- Defaults to `true` (existing behavior - expansion enabled)
- When set to `false`, variables like $FOO and ${FOO} are not expanded
- Added comprehensive tests covering all scenarios
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>