guyellis / guyellis/plant-image-lambda
Size of Zip
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 2
- Avg merge
- 17h
- Merged PRs (30d)
- 22
Description
Zip file being uploaded to Lambda is now huge because it's got the Sharp library included with it.
- Implement #286 to see how much size is reduced by this.
- See if Sharp is already available on Lambda to call and that it doesn't need to be bundled. Should be possible to move it to a devDependency and just upload that zip to test and try it.
- https://itnext.io/3x-smaller-lambda-artifacts-by-removing-junk-from-node-modules-2b50780ca1f5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing issue #286 and the Lambda packaging process described here. Measure the uploaded ZIP with Sharp included, test whether Lambda provides Sharp without bundling it, and confirm that the resulting artifact is smaller without breaking the image function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- build-system, cloud
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100