Using AWS Lambda to Reduce NodeJS App Size
This article highlights the stairs we took to scale back the dimensions of our NodeJs apps operating on AWS Lambda but it surely nonetheless relates to any Node app operating any place. We dropped our 50MB – 75MB (compressed) node apps to 8MB – 10MB. Set AWS-SDK as Dev Dependency as a dev dependency. Remove Unnecessary Packages corresponding to `aws-sdk` and its plugins like `serverless-offline. Use `depcheck` to scan your app for unused and lacking dependencies to your CI/CD pipeline. Victor Anuebunwa Software and DevOps engineer. I write about my tool construction reports. Tags Join Hacker Noon Create your unfastened account to liberate your customized studying revel in. » Read More
Like to keep reading?
This article first appeared on hackernoon.com. If you'd like to keep reading, follow the white rabbit.