diff options
Diffstat (limited to 'integration/snapshots/package-json-utf8.hmr.debug.js')
-rw-r--r-- | integration/snapshots/package-json-utf8.hmr.debug.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/integration/snapshots/package-json-utf8.hmr.debug.js b/integration/snapshots/package-json-utf8.hmr.debug.js index 5f8ac8d0c..fe11070c2 100644 --- a/integration/snapshots/package-json-utf8.hmr.debug.js +++ b/integration/snapshots/package-json-utf8.hmr.debug.js @@ -1,6 +1,8 @@ import { __HMRClient as Bun } from "http://localhost:8080/bun:wrap"; +Bun.activate(true); + import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; @@ -8,9 +10,8 @@ import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; import pkg from "http://localhost:8080/utf8-package-json.json"; -Bun.activate(true); - var hmr = new FastHMR(4111115104, "package-json-utf8.js", FastRefresh), exports = hmr.exports; + (hmr._load = function() { function test() { console.assert(!!pkg.author); |