next.js
73f547a6 - Display where the env was loaded from when enabled `typedEnv` (#70951)

Commit
1 year ago
Display where the env was loaded from when enabled `typedEnv` (#70951) ### Why? This PR added an indication of where the env was loaded from when `experimental.typedEnv` was enabled. Also, it allows the user to set `NODE_ENV=production` to enable the `typedEnv` feature for `.env.production*` files. ![CleanShot 2024-11-21 at 19 48 20](https://github.com/user-attachments/assets/ce3c7180-f26a-4378-a74f-a5998a363211) ### How? Modified `@next/env` to pass parsed envs along with the `loadedEnvFiles` value and used the location to indicate via JSDoc.
Author
Parents
Loading