diff options
Diffstat (limited to 'integration/snapshots/tsx-fallback-rewrite-works.hmr.js')
-rw-r--r-- | integration/snapshots/tsx-fallback-rewrite-works.hmr.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js index 5d5212e12..1828fa831 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js +++ b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js @@ -1,12 +1,15 @@ import { -__HMRModule as HMR -} from "http://localhost:3000/bun:wrap"; -import { __HMRClient as Bun -} from "http://localhost:3000/bun:wrap"; -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"; +Bun.activate(false); -var hmr = new HMR(2117426367, "tsx-fallback-rewrite-works.tsx"), exports = hmr.exports; +var hmr = new FastHMR(2117426367, "tsx-fallback-rewrite-works.tsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { return testDone(import.meta.url); |