.env.local.production

require('dotenv').config( path: `.env.local.$process.env.NODE_ENV`, );

Just like .env.local , your .env.local.production file should contain sensitive secrets (API keys, database URLs). .env.local.production

: It allows a developer to test a production build locally with specific credentials without changing the shared .env.production file. require('dotenv')

Top