Dotenv

Packer uses dotenv and webpack to load any environment values you have stored in .env

Usage#

Create an .env file

S3_BUCKET="YOURS3BUCKET"
SECRET_KEY="YOURSECRETKEYGOESHERE"

Use it in your code

console.log(process.env.S3_BUCKET)
// YOURS3BUCKET