diff options
author | 2022-04-23 03:15:27 -0700 | |
---|---|---|
committer | 2022-04-23 03:15:27 -0700 | |
commit | 683b171c3ffc54957e1f02952938ff010fdcbbe0 (patch) | |
tree | 9ff186957214f6bccc696f5093cb88b0e39a40aa /integration/snapshots/export-default-module-hot.debug.js | |
parent | ea241fcec7add6187ec915ed0b3983f3be0529f9 (diff) | |
download | bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.gz bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.zst bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.zip |
:camera:
Diffstat (limited to 'integration/snapshots/export-default-module-hot.debug.js')
-rw-r--r-- | integration/snapshots/export-default-module-hot.debug.js | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/integration/snapshots/export-default-module-hot.debug.js b/integration/snapshots/export-default-module-hot.debug.js index e0d02d271..a9de546d5 100644 --- a/integration/snapshots/export-default-module-hot.debug.js +++ b/integration/snapshots/export-default-module-hot.debug.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 |