serverless-plugin-inject-dependencies

Build Status Coverage Status

Easily include only required code your serverless package.

This plugin analyses all handlers in your serverless.yml configuration and modifies serverless includes/excludes options accordingly.

Installation

First install the plugin via NPM.

npm install serverless-plugin-inject-dependencies --save-dev

Then include the plugin within your serverless.yml config.

plugins:
- serverless-plugin-inject-dependencies