azavea / tilegarden

Serverless raster and vector map tile generation using Mapnik and AWS Lambda
https://azavea.github.io/tilegarden/
Other
97 stars 7 forks source link

Shrink aws-sdk #118

Closed mattdelsordo closed 6 years ago

mattdelsordo commented 6 years ago

Related to #117

We only really use the fetching-from-S3 part of aws-sdk, so it might be feasible to remove the parts of it that aren't used in order to slim down the bundle size. Rumor has it that it's available locally in the Lambda Node runtime, so check if that is true. If so, it might be possible to just relegate aws-sdk to a devDependency.