The Cloudflare Vite plugin now integrates seamlessly @vitejs/plugin-rsc, the official Vite plugin for React Server Components.
A childEnvironments option has been added to the plugin config to enable using multiple environments within a single Worker.
The parent environment can then import modules from a child environment in order to access a separate module graph.
For a typical RSC use case, the plugin might be configured as in the following example:
export default defineConfig({ plugins: [ cloudflare({ viteEnvironment: { name: "rsc", childEnvironments: ["ssr"], }, }), ],});@vitejs/plugin-rsc provides the lower level functionality that frameworks, such as React Router, build upon.
The GitHub repository includes a basic Cloudflare example.
Source: Cloudflare

![(Updated) Microsoft Teams: Select multiple messages to forward [MC1199767] 2 electric pole 2431326 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/electric-pole-2431326_1920-150x150.webp)
![(Updated) Remove toggle for Calendar in Teams [MC1129730] 3 pexels pok rie 33563 1432676](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-pok-rie-33563-1432676-150x150.webp)
![(Updated) Microsoft Teams: Digital signage in Teams Rooms on Android [MC1227077] 4 pexels leofallflat 1089194](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-leofallflat-1089194-150x150.webp)

