diff options
author | 2022-02-04 01:02:55 -0800 | |
---|---|---|
committer | 2022-02-04 01:02:55 -0800 | |
commit | b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd (patch) | |
tree | d9b635830dc6f56f1c7ddd705287048c089b0ea6 /integration/snapshots/react-context-value-func.hmr.tsx | |
parent | 29554f4de328cad377f9dfbe799ac62876ad03a3 (diff) | |
download | bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.gz bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.zst bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.zip |
:camera:
Diffstat (limited to 'integration/snapshots/react-context-value-func.hmr.tsx')
-rw-r--r-- | integration/snapshots/react-context-value-func.hmr.tsx | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/integration/snapshots/react-context-value-func.hmr.tsx b/integration/snapshots/react-context-value-func.hmr.tsx index 42eee99fc..91c87a43b 100644 --- a/integration/snapshots/react-context-value-func.hmr.tsx +++ b/integration/snapshots/react-context-value-func.hmr.tsx @@ -1,21 +1,24 @@ import { -__HMRClient as Bun -} from "http://localhost:3000/bun:wrap"; +__FastRefreshRuntime as FastRefresh +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:3000/bun:wrap"; +} from "http://localhost:8080/bun:wrap"; +import { +__HMRClient as Bun +} from "http://localhost:8080/bun:wrap"; import { -__HMRModule as HMR -} from "http://localhost:3000/bun:wrap"; -import * as $2f488e5b from "http://localhost:3000/node_modules/react/jsx-dev-runtime.js"; +__FastRefreshModule as FastHMR +} from "http://localhost:8080/bun:wrap"; +import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); var jsx = require(JSX).jsxDEV; -import * as $bbcd215f from "http://localhost:3000/node_modules/react/index.js"; +import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var { default: React} = require($bbcd215f); -Bun.activate(true); +Bun.activate(false); -var hmr = new HMR(3514348331, "react-context-value-func.tsx"), exports = hmr.exports; +var hmr = new FastHMR(3514348331, "react-context-value-func.tsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { const Context = React.createContext({}); const ContextProvider = ({ children }) => { |