.env.local.production [2021] Jun 2026

: Unlike standard shell variables, these are persistent text files stored in the project root. Usage Warnings

The file .env.local.production is used exclusively for local debugging of production builds. It is ignored by Git. Do not use this file in CI/CD pipelines. .env.local.production

Why would you need a local file for production? Typically, you don't. But here are three specific scenarios: : Unlike standard shell variables, these are persistent