-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
fix: preview fallback #11312
fix: preview fallback #11312
Conversation
Nice! Should we also update vite/packages/vite/src/node/server/middlewares/static.ts Lines 48 to 60 in 388adf5
here too? That should make the sirv flow like before https://github.com/vitejs/vite/pull/10475/files#diff-035e162040589730e5d3f09533d13b458d86742db439aebab46bed9ed5179941L55-R59 |
/ecosystem-ci run |
📝 Ran ecosystem CI: Open
|
Vitest should be failing because they merged and deleted the @danielroe did you change something on Nuxt side? If not, this PR seems to be fixing vite-4 support for you. @dominikg @benmccann I think we should also merge and release this one in the next patch. The issue with vite-plugin-svelte and SvelteKit may be related to the same problem we see in the other PR I tagged you into. Could you also confirm that we can merge this without affecting your plans? |
The fix is the new rollup release which addressed the issue we were experiencing - the branch is green in Nuxt ci as well 😊 |
Awesome! It looks like we are back to full green then! 🥳 |
It looks like the SvelteKit CI is failing generally and affecting both PRs. We've got a tool called turborepo that's supposed to help with caching, but the cache invalidation seems to be broken somehow and so a commit snuck by and broke our build because it looked green when we merged it, but it actually broke things. Dominik has the caching turned off on the ecosystem CI, so we're seeing the failure here. I'll ping Rich and Simon to see if they can get the build green again or see if I get anytime to look at it later tonight. I'd be a lot more comfortable putting out a new release if we can get the build green first The vite-plugin-svelte issue is a different one. @dominikg sent a fix for it: sveltejs/vite-plugin-svelte#546 |
Thanks @benmccann, we are not going to release until seeing SvelteKit green, dont worry 👍 |
there was an actual issue hidden behind the problems of svelte's ecosystem ci runs failing due to kit changes. this should fix it #11335 mentioning here as it also involves preview |
/ecosystem-ci run |
📝 Ran ecosystem CI: Open
|
Description
Alternative to #11289
As #11289 was controversial, this PR tries to focus on #10925.
This PR patches
sirv
as suggested by @bluwy (#11289 (comment)).I still think we should avoid patching for maintainability. But I left this as a patch as it was easier and I think it's ok for a short-term solution.
fixes #10925
superseds close #10944
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).