diff options
author | 2022-04-06 23:38:37 -0700 | |
---|---|---|
committer | 2022-04-06 23:38:37 -0700 | |
commit | 5ac69205913bb949d015d8162cefe14d488209f5 (patch) | |
tree | 1083c11837838a9078bd57818f59174097b0f036 /src/runtime/index-with-refresh.ts | |
parent | 70b1beb18bceca415f167e01e251327c702ee476 (diff) | |
download | bun-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.ts | 7 |
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: {}, |