aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/runtime/index-with-refresh.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/runtime/index-with-refresh.ts b/src/runtime/index-with-refresh.ts
index d0a0b12ec..dc0c361f8 100644
--- a/src/runtime/index-with-refresh.ts
+++ b/src/runtime/index-with-refresh.ts
@@ -1,12 +1,7 @@
-import { __injectFastRefresh } from "./hmr";
export * from "./hmr";
export * from "./errors";
export * from "./index-without-hmr";
-import * as __FastRefreshRuntime from "../react-refresh";
-if (typeof window !== "undefined") {
- __injectFastRefresh(__FastRefreshRuntime);
-}
-export { __FastRefreshRuntime };
+export * as __FastRefreshRuntime from "../react-refresh";
globalThis.process ||= {
env: {},