I'm trying to deploy multiple functions, one of which needs to be deployed with an image attribute rather than a handler filepath. I'm getting this error for that function: TypeError: Cannot read properties of undefined (reading 'lastIndexOf') which occurs in getHandlerFilename
I'm trying to deploy multiple functions, one of which needs to be deployed with an
image
attribute rather than ahandler
filepath. I'm getting this error for that function:TypeError: Cannot read properties of undefined (reading 'lastIndexOf')
which occurs ingetHandlerFilename
Not sure if there's a better way to handle this via the serverless config, but here's a PR that should fix it: https://github.com/dougmoscrop/serverless-plugin-include-dependencies/pull/101