Serverless Plugin Inject Dependencies

Painlessly deploy serverless projects with only the required dependencies.

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