Loading different env variables with Nextjs and next-on-pages
Aim
I want to call Cloudflare env variables such as:
Problem
When I run
So, that makes me think that my configuration is broken.
I am happy to create
I want to call Cloudflare env variables such as:
Problem
When I run
npx @cloudflare/next-on-pages@1, the Vercel build fails with the following error:So, that makes me think that my configuration is broken.
I am happy to create
.env files, but I want to avoid duplicate data entry (e.g., settings the both env variable in .env.dev and wrangler.toml).