aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/package-json-exports/index.hmr.debug.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--integration/snapshots/package-json-exports/index.hmr.debug.js15
1 files changed, 9 insertions, 6 deletions
diff --git a/integration/snapshots/package-json-exports/index.hmr.debug.js b/integration/snapshots/package-json-exports/index.hmr.debug.js
index 8c23e74fc..1310053b5 100644
--- a/integration/snapshots/package-json-exports/index.hmr.debug.js
+++ b/integration/snapshots/package-json-exports/index.hmr.debug.js
@@ -1,12 +1,15 @@
import {
__require as require
-} from "http://localhost:8080/bun:runtime";
-import {
-__HMRModule as HMR
-} from "http://localhost:8080/bun:runtime";
+} from "http://localhost:8080/bun:wrap";
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 * as $4068f25b from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js";
var InexactRoot = require($4068f25b);
import * as $d2a171d2 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js";
@@ -17,7 +20,7 @@ import * as $fce83cd7 from "http://localhost:8080/package-json-exports/node_modu
var JSFileExtensionOnly = require($fce83cd7);
Bun.activate(true);
-var hmr = new HMR(1953708113, "package-json-exports/index.js"), exports = hmr.exports;
+var hmr = new FastHMR(1953708113, "package-json-exports/index.js", FastRefresh), exports = hmr.exports;
(hmr._load = function() {
async function test() {
console.assert(InexactRoot.target === "browser");