[🐞] [v2] enabling SSG in the dev-server stops images from emitting
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 22.1k
- Forks
- 1.4k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
Which component is affected?
Qwik Runtime
Describe the bug
When adding the node adapter to the starters testing dev-server, the frontpage image tests fail, because the images generated by vite-imagetools are no longer under dist/assets
Reproduction
Steps to reproduce
uncomment the lines and run pnpm serve, then go to the qwikrouter-test and notice the broken images.
Not sure if this happens in v1 as well.
System Info
v2
Additional Information
No response
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 in starters/dev-server.ts around lines 153-172 and uncomment the node-adapter lines. Run pnpm serve, then inspect qwikrouter-test and the frontpage image tests to reproduce the missing-image behavior. Done means images generated by vite-imagetools are emitted under dist/assets and the affected tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript, vite
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100