diff options
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 | 5 |
1 files changed, 3 insertions, 2 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 614797836..f685557dc 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,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"; @@ -12,9 +14,8 @@ import _auth from "http://localhost:8080/_auth.js"; import * as _loginReally from "http://localhost:8080/_login.js"; import * as _loginReally2 from "http://localhost:8080/_login.js"; import * as _authReally from "http://localhost:8080/_auth.js"; -Bun.activate(true); - 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); |