diff options
author | 2022-04-25 07:09:18 -0700 | |
---|---|---|
committer | 2022-04-25 07:09:18 -0700 | |
commit | 2c6e5c3fc4a7255eb29f7ae618d2826dd9a7d5e5 (patch) | |
tree | 1de65b5cc11b7a479f92f853980d6a8ee640c9e6 /integration/snapshots/export-default-module-hot.js | |
parent | 4b4df5095ea756388df4c26683ab0bb222750ed3 (diff) | |
download | bun-2c6e5c3fc4a7255eb29f7ae618d2826dd9a7d5e5.tar.gz bun-2c6e5c3fc4a7255eb29f7ae618d2826dd9a7d5e5.tar.zst bun-2c6e5c3fc4a7255eb29f7ae618d2826dd9a7d5e5.zip |
some of buffer
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 |