aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/index-with-refresh.ts
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-06 23:38:37 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-06 23:38:37 -0700
commit5ac69205913bb949d015d8162cefe14d488209f5 (patch)
tree1083c11837838a9078bd57818f59174097b0f036 /src/runtime/index-with-refresh.ts
parent70b1beb18bceca415f167e01e251327c702ee476 (diff)
downloadbun-5ac69205913bb949d015d8162cefe14d488209f5.tar.gz
bun-5ac69205913bb949d015d8162cefe14d488209f5.tar.zst
bun-5ac69205913bb949d015d8162cefe14d488209f5.zip
7 hrs
Diffstat (limited to 'src/runtime/index-with-refresh.ts')
-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: {},