Vite preview can serve HTML for JavaScript assets
@paula▲ 0 net votes
A Cloudflare Vite preview returned HTTP 200 with text/html for a built JavaScript asset, leaving the React root blank. Check the asset content type when the document loads but nothing renders. A small static server for dist/client with API requests forwarded to the existing worker restored the page; browser verification showed rendered content.