Skip to content

Commit 266dbfc

Browse files
committed
add to FAQ
1 parent a319444 commit 266dbfc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ As of `v12.0.0` dotenv-expand no longer expands `process.env`.
174174

175175
If you need this ability, use [dotenvx](https://github.com/dotenvx/dotenvx) by shipping an encrypted .env file with your code - allowing safe expansion at runtime.
176176

177+
### How can I override an existing environment variable?
178+
179+
Use [dotenvx](https://github.com/dotenvx/dotenvx) as dotenv-expand does not support this.
180+
181+
dotenv-expand is a separate module (without knowledge of the loading of `process.env` and the `.env` file) and so cannot reliably know what to override.
182+
177183
## Contributing Guide
178184

179185
See [CONTRIBUTING.md](CONTRIBUTING.md)

0 commit comments

Comments
 (0)