Async runtime image options
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
Moving from https://github.com/unjs/ipx/issues/76
Certain configs would need an async operation in order to generate configuration for adding custom headers.
- For image options (app) we can use a nuxt app hook to be used with a nuxt plugin
- For image provider options (mainly ipx / headers) we need a nitro plugin hook however it needs async plugin support (https://github.com/unjs/nitro/issues/915)
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 linked unjs/ipx issue and the referenced unjs/nitro issue 915, then trace how image options and image provider options are configured in the Nuxt image module. The issue describes Nuxt app hooks for image options and a Nitro plugin hook for provider headers, but names no files, tests, or settled completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100