AWS Lambda that runs webpack and output the bundle.js file
First thing after cloning the project you need to run npm update
in order to get the projet dependencies.
Remember that all the npm modules needs to be relative to the project and not global.
After that you will be able to package your projects (only the files inside the project folder, not the parent folder) and upload to AWS Lambda.
At this link you can find the Webpack bundle output returned from a Lambda exposed via API Gateway
it takes a while to get the response (around 15s when Lambda is cold)