aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/export-default-module-hot.hmr.debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/export-default-module-hot.hmr.debug.js')
-rw-r--r--integration/snapshots/export-default-module-hot.hmr.debug.js32
1 files changed, 24 insertions, 8 deletions
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