aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/multiple-var.hmr.debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/multiple-var.hmr.debug.js')
-rw-r--r--integration/snapshots/multiple-var.hmr.debug.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/integration/snapshots/multiple-var.hmr.debug.js b/integration/snapshots/multiple-var.hmr.debug.js
index 0dd025c7e..a5298f462 100644
--- a/integration/snapshots/multiple-var.hmr.debug.js
+++ b/integration/snapshots/multiple-var.hmr.debug.js
@@ -1,15 +1,16 @@
import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
+Bun.activate(true);
+
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
-Bun.activate(true);
-
var hmr = new FastHMR(2883558553, "multiple-var.js", FastRefresh), exports = hmr.exports;
+
(hmr._load = function() {
var foo = true;
globalThis.TRUE_BUT_WE_CANT_TREESHAKE_IT = true;