Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: make root.tsx optional #3527

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

build: make root.tsx optional #3527

wants to merge 2 commits into from

Conversation

shairez
Copy link
Collaborator

@shairez shairez commented Mar 26, 2023

What is it?

  • 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.

@stackblitz
Copy link

stackblitz bot commented Mar 26, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@cloudflare-pages
Copy link

cloudflare-pages bot commented Mar 26, 2023

Deploying with  Cloudflare Pages  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

View logs

@mhevery
Copy link
Contributor

mhevery commented Jun 30, 2023

@shairez can you better explain the motivation?

@shairez
Copy link
Collaborator Author

shairez commented Jun 30, 2023

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


return fs.existsSync(path);
}
return false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better to assume they exist, so that it's like previous behavior?

@PatrickJS
Copy link
Member

oh I actually ran into this when I was working on Qwik Start. It should be optional

@PatrickJS
Copy link
Member

can we redo this PR

@PatrickJS PatrickJS self-assigned this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants