-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support bundling with unstable_vitePlugin
introduced in remix v2.2
#63
Comments
@mmachatschek we're looking into, thanks! |
That's good - looking forward to it! |
@EndangeredMassa do you have a timeline for this? Seems right now remix doesn't work on vercel even without vite (see #59 - having the same error). |
The #59 issue was just resolved. Let us know if you are still seeing that issue. We do not have a timeline for the vite plugin support, but it is a priority. |
For the vite plugin support, is this something like a week, a month, several months? Ballpark would be great. Thank you! |
FYI the remix roadmap tracks a new feature Bundle Shredding 🎸 for Lambda/Serverless Architecture. With that it should be able to output the built remix production code in a format that is supported by the Vercel build API. I think this would make the |
Very interesting! That would make it easier to deploy on Cloudflare too right? |
Spotted this work around https://www.youtube.com/watch?v=oYmjsWjoFB0 |
Any updates? |
It's not likely to come in the next month. We very much want to get to this as soon as we can. |
Thank you for the update! |
Any progress here? ALSO, note that the vite builder rejects Vercel's approach to specifying edge routes:
That does NOT work on the vite build, which only allows whitelisted (i.e. remix) exports from routes. Some sort of work around is needed. |
This is still in the list of projects we want to tackle next. We'll make an announcement when it's done, but we have other things we need to tackle first. |
Looks like Bundle Shredding (now called Server Bundles) was completed yesterday: remix-run#8296 Any word on how this might impact Vite + Remix support on Vercel? |
It looks like there is some progress here vercel/vercel#11031 |
We are exploring it, but no ETA just yet. |
If we can't get this soon then I'm going to have to migrate back over to Railway.app and/or Fly.io. I wish Vercel would just let us deploy Docker images. |
I feel you! Also thinking about switching to cloudflare because of this. |
That's not a bad idea and I've been temped as well as I have pending DNS switch overs to Cloudflare waiting for me to disconnect from Vercel and press go. From my observations, Remix and CF is a solid reliable pairing and apps serve fast from Workers and Pages. Actually might be a safer bet just in case Vercel pulls some marketing stunts down the road that makes things more difficult for devs when as they continue seeking profit. But @sigma-andex have no fear. I'm happy to share that have and am successfully deploying Vite Remix to Vercel serverless, and it's working pretty damn good. All thanks to our hero and single most influential contributor to version 2.7.2 bringing us the stable Vite Remix. Just pre-build that shit and deploy it from your local IDE. Bypass even dealing with the Vercel website in fact. https://vercel.com/docs/cli/deploy Here's the stuff. Thank you hi-ogawa! Really appreciate you contributions here. |
@justyn-clark your example is great, unblocked me! |
We are getting closer to announcing our Remix + Vite support on Vercel. If you would like to help test, I've posted some instructions on how to do so here. |
Done deal. My tests passed. |
Just tested Remix + Vite + Vercel, but |
Same problem with Sentry. https://docs.sentry.io/platforms/javascript/guides/remix/manual-setup/ |
Heard. I'm working on a fix for that. Stay tuned. |
Official Vercel Remix v2.2 support for the newly introduced unstable vite plugin would be great
The text was updated successfully, but these errors were encountered: