DEV Community

loading...

Discussion on: Generate a PDF in AWS Lambda with NodeJS, Webpack, Pug and Puppeteer

Collapse
zeka profile image
Zeljko Krsic Author

Thank you for your comment and sorry that you waited for my response this long, I simply haven't noticed till now.

  1. I am not sure why the difference in bundle is so big. I haven't investigate it as I was short on time.
  2. I used serverless framework to deploy package to AWS. Serverless put it into bucket and update all parts used in project. In this case, beside lambda function, an API Gateway and layers are implemented.
Forem Open with the Forem app