@lucasveronezzi/load-dotenv

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @lucasveronezzi/load-dotenv

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

38.5 kB

Total Files

4

Last publish

Collaborators

  • lucasveronezzi