From 683b171c3ffc54957e1f02952938ff010fdcbbe0 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 23 Apr 2022 03:15:27 -0700 Subject: :camera: --- .../export-default-module-hot.hmr.debug.js | 32 ++++++++++++++++------ 1 file changed, 24 insertions(+), 8 deletions(-) (limited to 'integration/snapshots/export-default-module-hot.hmr.debug.js') diff --git a/integration/snapshots/export-default-module-hot.hmr.debug.js b/integration/snapshots/export-default-module-hot.hmr.debug.js index e0d02d271..6230c29a1 100644 --- a/integration/snapshots/export-default-module-hot.hmr.debug.js +++ b/integration/snapshots/export-default-module-hot.hmr.debug.js @@ -1,19 +1,35 @@ import { -__cJS2eSM +__HMRClient as Bun +} from "http://localhost:8080/bun:wrap"; +Bun.activate(true); + +import { +__FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; import { -__exportDefault +__FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -export default __cJS2eSM(function(module, exports) { - __exportDefault(module.exports, module.id); +var hmr = new FastHMR(2909748314, "export-default-module-hot.js", FastRefresh), exports = hmr.exports; +(hmr._load = function() { + var export_default_module_hot_default = typeof module !== "undefined" && module.id; function test() { testDone(import.meta.url); } - Object.defineProperty(module.exports,"test",{get: () => test, enumerable: true, configurable: true}); -}, "export-default-module-hot.js"); - - + hmr.exportAll({ + default: () => export_default_module_hot_default, + test: () => test + }); +})(); +var $$hmr_default = hmr.exports.default, $$hmr_test = hmr.exports.test; +hmr._update = function(exports) { + $$hmr_default = exports.default; + $$hmr_test = exports.test; +}; +export { + $$hmr_default as default, + $$hmr_test as test +}; //# sourceMappingURL=http://localhost:8080/export-default-module-hot.js.map -- cgit v1.2.3