https://github.com/netlify/function-deploy-test
https://github.com/netlify/function-deploy-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/netlify/function-deploy-test
- Owner: netlify
- Created: 2020-02-19T12:34:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T09:22:25.000Z (over 1 year ago)
- Last Synced: 2025-05-01T00:30:51.068Z (about 2 months ago)
- Language: JavaScript
- Size: 1.19 MB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This repository shows the 3 ways you can deploy Javascript Netlify Functions.
- /lambda/bundled-function
- The build script in the root package.json file bundles the function and its depdendency into a single file and that bundled file is copied into the functions/ folder.
- /lambda/zipped-function
- The build script also zips this whole folder (including the node_modules, etc.) into a zip file and copied into the functions/ folder.
- /functions/zisi-function
- The build script does not touch this function at all. This function is handled by the Netlify Buildbot using the built-in zip-it-and-ship-it feature.## Zip-it-and-Ship-it deployed functions
There is now a troubleshooting section in the repo here: https://github.com/netlify/zip-it-and-ship-it/blob/master/README.md#troubleshooting.
And there is a details description on the bundling strategy here: https://github.com/netlify/zip-it-and-ship-it/blob/master/README.md#zipfunctionssrcfolder-destfolder-options.## Other
Deployed site: awesome-torvalds-d5c2df.netlify.com
https://app.netlify.com/sites/awesome-torvalds-d5c2df/functions