From f22e69945e9075592103eaf5e1f178fb8ab86525 Mon Sep 17 00:00:00 2001 From: swyx Date: Sat, 2 Feb 2019 22:04:26 -1000 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0639fe4f..234c7001 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ This is an optional tool that helps with building or locally developing [Netlify The goal is to make it easy to write Lambda's with transpiled JS/TypeScript features and imported modules. +## Alternative to Netlify Lambda + +Netlify-Lambda uses webpack to bundle up your functions and their dependencies for you, however this is not the only approach. If you have native node modules (or other dependencies that dont expect to be bundled like [the Firebase SDK](https://github.com/netlify/netlify-lambda/issues/112)) then you may want to try the zipping approach. Read [here](https://www.netlify.com/blog/2018/09/14/forms-and-functions/) and [here for instructions](https://github.com/DavidWells/function-zips/) (more examples [here](https://github.com/netlify/function-bundling-example)) and and look out for more announcements on this in coming months. + ## Installation **We recommend installing locally** rather than globally: