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/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js | |
parent | 29554f4de328cad377f9dfbe799ac62876ad03a3 (diff) | |
download | bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.gz bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.zst bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.zip |
:camera:
Diffstat (limited to 'integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js')
-rw-r--r-- | integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js index c5aa62729..f8455b5dd 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js +++ b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js @@ -1,9 +1,12 @@ import { -__HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; -import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; +import { +__FastRefreshModule as FastHMR +} from "http://localhost:8080/bun:wrap"; +import { +__FastRefreshRuntime as FastRefresh +} from "http://localhost:8080/bun:wrap"; import _login from "http://localhost:8080/_login.js"; import _auth from "http://localhost:8080/_auth.js"; import * as _loginReally from "http://localhost:8080/_login.js"; @@ -11,7 +14,7 @@ import * as _loginReally2 from "http://localhost:8080/_login.js"; import * as _authReally from "http://localhost:8080/_auth.js"; Bun.activate(true); -var hmr = new HMR(3878252498, "cjs-transform-shouldnt-have-static-imports-in-cjs-function.js"), exports = hmr.exports; +var hmr = new FastHMR(3878252498, "cjs-transform-shouldnt-have-static-imports-in-cjs-function.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { return testDone(import.meta.url); |