-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: finish getting Vite 5 working #11167
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
Conversation
|
|
The tests are failing because the Vite preview middleware always returns Essentially, the tests get stuck because the browser can't download the scripts while the trailing slash is incorrect and our assets are linked using relative paths. Hence, no Reproduction
|
Co-authored-by: Tee Ming <[email protected]>
Co-authored-by: Tee Ming <[email protected]>
Co-authored-by: Tee Ming <[email protected]>
vitejs/vite#14818 broke a lot of tests. I mostly fixed it here: 43a745a.
I don't know what's causing the remaining failures, but I think it's also something related to the base path - if I remove the base path from the failing tests then they start working. You can reproduce them with:
When I run
pnpm previewin that directory everything seems to work and it looks likestartedis added to thebody, so I don't know why the tests are failing with a timeout looking forstarted.