Skip to content

Commit 775ff0d

Browse files
committed
Reword DevEnvironment references
1 parent fba0c31 commit 775ff0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.changeset/new-houses-hug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@react-router/dev": patch
33
---
44

5-
Fix `future.unstable_viteEnvironmentApi` when the `ssr` environment has been configured by another plugin to be a raw `Vite.DevEnvironment` rather than a `Vite.RunnableDevEnvironment`
5+
Fix `future.unstable_viteEnvironmentApi` when the `ssr` environment has been configured by another plugin to be a custom `Vite.DevEnvironment` rather than a `Vite.RunnableDevEnvironment`

packages/react-router-dev/vite/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = () => {
918918
// We use a separate environment for loading the server manifest and inlined
919919
// CSS during development. This is because "ssrLoadModule" isn't available if
920920
// the "ssr" environment has been defined by another plugin (e.g.
921-
// vite-plugin-cloudflare) as a Vite.DevEnvironment rather than a
921+
// vite-plugin-cloudflare) as a custom Vite.DevEnvironment rather than a
922922
// Vite.RunnableDevEnvironment:
923923
// https://vite.dev/guide/api-environment-frameworks.html#runtime-agnostic-ssr
924924
const HELPER_ENVIRONMENT_NAME = "__react_router_helper__";

0 commit comments

Comments
 (0)