lalalambda
lalalambda copied to clipboard
Lalalambda doesn't include its handler in certain scenarios
When using a combination of serverless config settings such as the below:
package:
individually: true
functions:
function-name:
package:
include:
- lib/module/index.js
exclude:
- lib/otherModule/**
- _lalalambda/**
Lalalambda doesn't include its handler by default, the reason being that in the config settings above, only the files needed for the function were to be included.
A simple configuration fix can be applied (as shown below), however, lalalambda can potentially deal with this directly.
package:
individually: true
functions:
function-name:
package:
include:
- _lalalambda/function-name.js
- lib/module/index.js
exclude:
- lib/otherModule/**
- _lalalambda/**
@devinivy I'm happy to help here so if you can please give me a few pointers I can try and send a PR your way!