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/export.hmr.js | |
parent | 29554f4de328cad377f9dfbe799ac62876ad03a3 (diff) | |
download | bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.gz bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.zst bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.zip |
:camera:
Diffstat (limited to 'integration/snapshots/export.hmr.js')
-rw-r--r-- | integration/snapshots/export.hmr.js | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/integration/snapshots/export.hmr.js b/integration/snapshots/export.hmr.js index ef1963323..83ae33c98 100644 --- a/integration/snapshots/export.hmr.js +++ b/integration/snapshots/export.hmr.js @@ -1,14 +1,17 @@ import { -__HMRModule as HMR -} from "http://localhost:3000/bun:wrap"; -import { __HMRClient as Bun -} from "http://localhost:3000/bun:wrap"; -import what from "http://localhost:3000/_auth.js"; -import * as where from "http://localhost:3000/_auth.js"; -Bun.activate(true); +} 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 what from "http://localhost:8080/_auth.js"; +import * as where from "http://localhost:8080/_auth.js"; +Bun.activate(false); -var hmr = new HMR(1879780259, "export.js"), exports = hmr.exports; +var hmr = new FastHMR(1879780259, "export.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var yoyoyo = "yoyoyo"; function hey() { @@ -68,7 +71,7 @@ export { $$hmr_booop as booop, $$hmr_test as test }; -export {default as auth} from "http://localhost:3000/_auth.js"; -export {default as login} from "http://localhost:3000/_login.js"; -export * from "http://localhost:3000/_bacon.js"; -export {} from "http://localhost:3000/_bacon.js"; +export {default as auth} from "http://localhost:8080/_auth.js"; +export {default as login} from "http://localhost:8080/_login.js"; +export * from "http://localhost:8080/_bacon.js"; +export {} from "http://localhost:8080/_bacon.js"; |