diff options
Diffstat (limited to 'integration/snapshots/jsx-entities.hmr.debug.jsx')
-rw-r--r-- | integration/snapshots/jsx-entities.hmr.debug.jsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/integration/snapshots/jsx-entities.hmr.debug.jsx b/integration/snapshots/jsx-entities.hmr.debug.jsx index 3fec5114c..07915e50a 100644 --- a/integration/snapshots/jsx-entities.hmr.debug.jsx +++ b/integration/snapshots/jsx-entities.hmr.debug.jsx @@ -2,10 +2,12 @@ import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; import { -__require as require +__HMRClient as Bun } from "http://localhost:8080/bun:wrap"; +Bun.activate(true); + import { -__HMRClient as Bun +__require as require } from "http://localhost:8080/bun:wrap"; import { __FastRefreshModule as FastHMR @@ -18,9 +20,8 @@ var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; import * as $1f6f0e67 from "http://localhost:8080/node_modules/react-dom/server.browser.js"; var ReactDOM = require($1f6f0e67); -Bun.activate(true); - var hmr = new FastHMR(817082122, "jsx-entities.jsx", FastRefresh), exports = hmr.exports; + (hmr._load = function() { const elements = { [ReactDOM.renderToString(jsx(JSXFrag, { |