You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Start: Full support by @cloudflare/vite-plugin #4473
Tanstack Start and @cloudflare/vite-plugin are not fully compatible with one another. For example, using virtual imports like cloudflare:workflows and cloudflare:workers causes issues; these can be marked external in vite but doing so will cause other issues during either build or deployment.
Solution
@schiller-manuel mentioned he's talking with Cloudflare to improve Tanstack Start compatibility with @cloudflare/vite-plugin.
Creating a tracking issue so we can follow progress without bugging core team for status updates in Discord.
Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
..
Expected behavior
Dev should be able to add cloudflare() from @cloudflare/vite-plugin to plugins in vite.config.ts to have access to all of the miniflare environment. It should automatically prevent issues when using cloudflare virtual imports from cloudflare:workflows and cloudflare:workers. Etc.
Reacted by Simo Edwin, Ammar Iqbal, Victor, Vladimir Semyonov, David Basile Filho, Folyd, Andrei Liviu Georgescu, eve0415, Alexandre Serra, Brooke Holmes and 14 more
Cloudflare also released remote bindings during local development. So you'll pretty much be able to mirror prod enviorment in dev. Keeping my eye on this, really exciting
Activity
developedbyed commentedon Jun 21, 2025
Cloudflare also released remote bindings during local development. So you'll pretty much be able to mirror prod enviorment in dev. Keeping my eye on this, really exciting
Folyd commentedon Jun 22, 2025
The cloudflare host docs is outdated:
https://tanstack.com/start/latest/docs/framework/react/hosting#cloudflare-pages
juliomuhlbauer commentedon Jun 22, 2025
Created an issue: #4500
schiller-manuel commentedon Sep 23, 2025
done now
https://tanstack.com/start/latest/docs/framework/react/hosting#cloudflare-workers--official-partner
alexjball commentedon Sep 24, 2025
Thank you!!