0.0.2 • Published 4 years ago
@lucasveronezzi/load-dotenv v0.0.2
Load Dotenv
This package automatic load the package dotenv
based on the build or --env parameter
Default
This package will look in the process.env.NODE_ENV
to determine which file is to load
production
: file name is .env.proddevelopment
: file name is .env
Parameter
You can use the parameter --env with your command to specify the name of the file in the root directory
Example
--env .env.my-enviroment