From 1b80567dc34a10aa9cdf51caedccd61f509d62ae Mon Sep 17 00:00:00 2001 From: JuanM04 Date: Mon, 6 Dec 2021 20:22:32 -0300 Subject: [PATCH] Docs for blitz-js/blitz#3026 --- app/pages/docs/environment-variables.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/pages/docs/environment-variables.mdx b/app/pages/docs/environment-variables.mdx index c7069afb..78fa0a7a 100644 --- a/app/pages/docs/environment-variables.mdx +++ b/app/pages/docs/environment-variables.mdx @@ -129,3 +129,16 @@ blitz dev --env staging This will load additional env files: `.env.` and `.env..local`. + +If you need to load multiple env files, you can pass all the enviroments +you want to load like this: + +```bash +blitz dev --env staging,production +# Loaded .env.staging.local +# Loaded .env.staging +# Loaded .env.production.local +# Loaded .env.production +# Loaded .env.local +# Loaded .env +```