Рет қаралды 16,994
When you deploy a serverless project, by default it uploads all of the code into every lambda. This can mean you quickly end up hitting the "Unzipped size must be smaller than 262144000 bytes" error.
With Serverless Webpack it compiles all the code that the Lambda needs into a single file, excluding any unused code. This makes it much smaller, reducing the unzipped errors.