serverless-python-requirements icon indicating copy to clipboard operation
serverless-python-requirements copied to clipboard

Support Symbolic Links in "vendor" directory

Open TimLudwinski opened this issue 4 years ago • 0 comments

Currently if the vendor directory contains symbolic links, each of those links will contain a copy of the target file inside the output zipfile. If the original file was large, this can cause the lambda to go over the size limit.

Here is a python example of creating a zip entry with a symbolic link: https://stackoverflow.com/a/41573364/1413201. This likely can be adapted for nodejs.

TimLudwinski avatar Jun 08 '21 20:06 TimLudwinski