Question · Next.js course · Module 8: Deployment and Production
Hierarchy of .env Files in Next.js
Which .env file has the HIGHEST priority in Next.js?
Answer options
- .env
- .env.production
- .env.local
- .env.development
You can check the correct answer by solving this task in the CodeWorlds game.