From 2c6e5c3fc4a7255eb29f7ae618d2826dd9a7d5e5 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Mon, 25 Apr 2022 07:09:18 -0700 Subject: some of buffer --- integration/snapshots/export-default-module-hot.js | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'integration/snapshots/export-default-module-hot.js') diff --git a/integration/snapshots/export-default-module-hot.js b/integration/snapshots/export-default-module-hot.js index e0d02d271..a9de546d5 100644 --- a/integration/snapshots/export-default-module-hot.js +++ b/integration/snapshots/export-default-module-hot.js @@ -1,19 +1,6 @@ -import { -__cJS2eSM -} from "http://localhost:8080/bun:wrap"; -import { -__exportDefault -} from "http://localhost:8080/bun:wrap"; -export default __cJS2eSM(function(module, exports) { - __exportDefault(module.exports, module.id); - - function test() { - testDone(import.meta.url); - } - Object.defineProperty(module.exports,"test",{get: () => test, enumerable: true, configurable: true}); -}, "export-default-module-hot.js"); - - - +export default typeof module !== "undefined" && module.id; +export function test() { + testDone(import.meta.url); +} //# sourceMappingURL=http://localhost:8080/export-default-module-hot.js.map -- cgit v1.2.3