diff options
Diffstat (limited to 'integration/snapshots/export-default-module-hot.js')
-rw-r--r-- | integration/snapshots/export-default-module-hot.js | 21 |
1 files changed, 4 insertions, 17 deletions
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 |