Tim-B / grunt-aws-lambda

A grunt plugin to assist in developing functions for AWS Lambda.
MIT License
247 stars 100 forks source link

Packaging Linked Node Modules #99

Open marjanSterjev opened 7 years ago

marjanSterjev commented 7 years ago

It is very common scenario to create AWS Lambda functions that rely on some common functionality that can't be installed through npm. In that case, developers use the npm link mechanism in order to include these locally developed node modules.

The current packaging functionality does not take into account these linked modules, probably because they are not listed in the package.json.

Is it possible to package these linked modules in the lambda distribution zip?

Nalha commented 7 years ago

Link is not supposed to be used for packaging or deployment, consider publishing your module or use a github link in your package.json