Serverless Plugin Inject Dependencies

Painlessly deploy serverless projects with only the required dependencies.

View on Github


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.


First install the plugin via NPM.

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

Then include the plugin within your serverless.yml config.

  - serverless-plugin-inject-dependencies