epsagon / serverless-package-external

Add external folders to the deploy package 📦
https://epsagon.com/blog/how-to-package-external-code-in-aws-lambda-using-serverless-framework/
MIT License
55 stars 5 forks source link

local testing #7

Closed webchaz closed 5 years ago

webchaz commented 5 years ago

Hello,

Is there anyway to test locally with this? Such as running test cases the paths don't resolve since it's only done when packaged.

Thank you

ranrib commented 5 years ago

Hi there,

Do you use any plugin for local testing? or do you run the local test outside of serverless? If it outside - you can add the path to the external package. If it's via any other plugin, I guess the support can be added, but it will require a research.

Thanks @webchaz