Saltear al contenido principal

.env.local.production Here

# Real production (on the server) GENERATE_SOURCEMAP=false LOG_LEVEL=error GENERATE_SOURCEMAP=true # Override to debug bundled code LOG_LEVEL=debug # See everything during local build

"scripts": "build:prod-local": "NODE_ENV=production node env-loader.js && npm run build" .env.local.production

Here are three scenarios where .env.local.production (or its equivalent) is indispensable. The most common reason. You are about to deploy to AWS, Vercel, or Netlify. Your staging environment works flawlessly, but production fails mysteriously. but production fails mysteriously.

Volver arriba
Buscar