Serverless Plugin Package Dotenv File

A Serverless plugin to copy a .env file into the serverless package

user  

ACloudGuru

Serverless Package Env Plugin Build Status

A Serverless plugin to copy a .env file into the serverless package

Installation

npm i serverless-plugin-package-dotenv-file

Usage

service: your-service
...
custom:
  packageEnv:
    fileName: .env-${env:ENVIRONMENT}

plugins:
  - serverless-plugin-package-dotenv-file
view on Github

Latest commit b2f54ec on Sep 24, 2017

New to serverless?

To get started, pop open your terminal & run:

npm install serverless -g