Optimize generated sizes
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
- Merge close enough generated widths (https://github.com/nuxt/image/issues/216#issuecomment-841086291)
- Omit generated widths that are bigger than original
widthprop (https://github.com/nuxt/image/issues/201#issuecomment-840772839)
Contributor guide
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 reading the two linked discussions from issues 216 and 201, then locate the generated-width logic in the Nuxt image module. Done means merging sufficiently close generated widths and omitting widths larger than the original width prop, with behavior verified against the project’s existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100