Skip to content

LevanIlashvili/serverless-plugin-tree-prune

Repository files navigation

serverless-plugin-tree-prune

Based on serverless-plugin-tree-shake

Shake the file dependency tree and only include files needed.

install

yarn add --dev serverless-plugin-tree-prune
npm install --save-dev serverless-plugin-tree-prune

usage

plugins:
  - serverless-plugin-tree-prune
package:
  excludeDevDependencies: false

This plugins supports typescript natively. It uses the installed typescript package, reads the appropriate config, and transpiles to js according to that config. You can see examples on the __fixtures__ that start with ts-.

individually

This plugins supports bundling functions individually. Just use that option accordingly:

package:
  individually: true
  excludeDevDependencies: false

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors