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/string-escapes.hmr.js | |
parent | 29554f4de328cad377f9dfbe799ac62876ad03a3 (diff) | |
download | bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.gz bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.zst bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.zip |
:camera:
Diffstat (limited to 'integration/snapshots/string-escapes.hmr.js')
-rw-r--r-- | integration/snapshots/string-escapes.hmr.js | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/integration/snapshots/string-escapes.hmr.js b/integration/snapshots/string-escapes.hmr.js index 4c95ef6f3..1ad77ecc2 100644 --- a/integration/snapshots/string-escapes.hmr.js +++ b/integration/snapshots/string-escapes.hmr.js @@ -1,20 +1,23 @@ 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); -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 JSXClassic = require($bbcd215f); var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; -Bun.activate(true); -var hmr = new HMR(2482749838, "string-escapes.js"), exports = hmr.exports; +Bun.activate(false); +var hmr = new FastHMR(2482749838, "string-escapes.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var tab = "\t"; var シ = "wow"; |