aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/index-with-refresh.ts
blob: d0a0b12ecc6ff8b83205f2e99f32774a5be812fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 };

globalThis.process ||= {
  env: {},
  cwd() {
    return "/bun-fake-dir/";
  },
};