Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

the custom require with __dirname seems to cause an issue with Serverless #29

Open
cusspvz opened this issue Aug 4, 2021 · 0 comments

Comments

@cusspvz
Copy link

cusspvz commented Aug 4, 2021

There's a custom require call in the lib/index file which is not compatible with the serverless-webpack. The lambdas attempt to require that file in the runtime. I suggest a change to a regular commonjs require call.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant