- NPM Downloads Last Month
By default Serverless packages whole contents of service folder in which lambda was configured, it raises issues in projects where we maintain many functions under one service.
This plugin ensures that it is only dependencies of given lambda that are packaged and deployed to remote instance
$ npm install serverless-plugin-reducer
packagegroup. (See Packaging functions separately)
package: individually: true
plugins: - serverless-plugin-reducer
includeoption as e.g.
functions: hello: handler: handler.hello package: include: - non-node-js-module.txt - required-through-dynamic-path.js