Table of Contents

Code Building - dotenv (.env)

About

.env files are property files that set the environment variable for a development environment.

Logic

This logic was taken from React where the defined the environment value with NODE_ENV

With the script of a create react app, Files on the left have more priority than files on the right:

.env files should be checked into source control (with the exclusion of .env*.local).

Library

Documentation / Reference