vitest-dev / vitest-dev/vitest
Vitest v5: Support full bundle mode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17.1k
- Forks
- 2k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 94
Description
Clear and concise description of the problem
Follow up to this discussion.
Supporting full bundle mode requires more work on Vitest side, but it’s on the roadmap.
I couldn't find a ticket for this that I can track, so I create this one. Is this still planned for 5.0 or rather later?
Suggested solution
experimental.bundledDev is supported by vitest (incl. browser mode).
Currently this fails (e.g. TypeScript is not transformed).
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
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 from the experimental.bundledDev entry point and reproduce the reported failure in browser mode, where TypeScript is not transformed. Trace the full bundle path and verify that bundledDev works with TypeScript transformation and browser mode as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vite
- Domain
- build-system, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100