Serverless Ignore

homepage icon https://github.com/nya1/serverless-ignore
Follow @nya1

Tracked

NPM Downloads Last Month
6694
Issues
0
Stars
0
Forks
0
Watchers
0
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

serverless-ignore

serverless npm npm

Serverless plugin to ignore files like a .gitignore

Why

Install

npm install --save-dev serverless-ignore

Note:

Usage

Add serverless-ignore to your plugins list (serverless.yml)

plugins:
  - serverless-ignore

Add a .slsignore in your root folder with a .gitignore-like syntax with all the files you want to ignore

Example:

# it works like a .gitignore
# for sls
README.md
*.log

# ignore aws-sdk
node_modules/aws-sdk/*

.env.example
.git/*
__tests__/*