What is the environment variable load order for wrangler.dev & env.vars?

If I have env vars defined in wrangler.toml and env.vars which is picked and which is overridden? For example this is NextJS' environment variale load order: Environment variables are looked up in the following places, in order, stopping once the variable is found. 1. process.env 2. .env.$(NODE_ENV).local 3. .env.local (Not checked when NODE_ENV is test.) 4. .env.$(NODE_ENV) 5. .env
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server