difference in code size was 984,9 kB (TS project) vs. 124,8 MB (JS project) for the same code
Why so?
2
Sorry if I'm wrong but you haven't mentioned how you managed to deploy it to AWS. Did you put everything in a bucket? If yes, how bucket and lambda are synchronized?
Thank you for your comment and sorry that you waited for my response this long, I simply haven't noticed till now.
I am not sure why the difference in bundle is so big. I haven't investigate it as I was short on time.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the article! Useful!
1
Why so?
2
Sorry if I'm wrong but you haven't mentioned how you managed to deploy it to AWS. Did you put everything in a bucket? If yes, how bucket and lambda are synchronized?
Thank you for your comment and sorry that you waited for my response this long, I simply haven't noticed till now.