@cloudflare/vite-plugin@1.25.0
📦 cloudflare-workersView on GitHub →
✨ 1 features🐛 1 fixes🔧 1 symbols
Summary
This release improves compatibility with RSC by automatically configuring the Vite plugin and fixes a build-time WebSocket error related to child Vite servers.
Migration Steps
- Remove manual configuration of `rsc({ serverHandler: false })` if you were using `@vitejs/plugin-rsc`.
✨ New Features
- Automatically set { serverHandler: false } when using @vitejs/plugin-rsc, removing the need for manual configuration to avoid issues with cloudflare:* imports.
🐛 Bug Fixes
- Avoided intermittent "The WebSocket is undefined" error during production builds when frameworks (like React Router) create a child Vite server.