: Specific to an environment.
# .env.local HOSTNAME=localhost PORT=8080 API_URL=http://$HOSTNAME:$PORT/v1 # Results in: http://localhost:8080/v1 .env.local
.env.local is a feature commonly used in development environments, especially when working with applications that utilize environment variables for configuration. This feature is particularly popular in projects managed by frameworks like Next.js, Vue.js, and others that support or encourage the use of environment variables for sensitive or environment-specific configurations. : Specific to an environment
export const env = envSchema.parse(process.env); .env.local