0.0.2 • Published 4 years ago

@lucasveronezzi/load-dotenv v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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.prod
  • development: 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