Here's the priority of the files for the development build and the production build: Dev.: (npm start): .env.development.local, .env.development, .env.local, .env Prod.: (npm run build): .env.production.local, .env.production, .env.local, .env