build: make root.tsx optional
What is it?
- [x] Feature / enhancement
- [ ] Bug
- [ ] Docs / tests
Description
Make build root.tsx for client mode building to make it easier for testing tools to run Qwik libraries.
Run & review this pull request in StackBlitz Codeflow.
Deploying with
Cloudflare Pages
| Latest commit: |
678d503
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b4342f56.qwik-docs.pages.dev |
| Branch Preview URL: | https://pr-root-tsx.qwik-docs.pages.dev |
@shairez can you better explain the motivation?
Yes, it's something me and @manucorporat figured out when trying to build the cypress plugin.
I ran into some limitations when trying to fix this, but I need to complete this work when I'll have time
oh I actually ran into this when I was working on Qwik Start. It should be optional
can we redo this PR
we're going to do this as part of the vite environment support