diff options
Diffstat (limited to 'integration/snapshots/bundled-entry-point.hmr.js')
-rw-r--r-- | integration/snapshots/bundled-entry-point.hmr.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/integration/snapshots/bundled-entry-point.hmr.js b/integration/snapshots/bundled-entry-point.hmr.js new file mode 100644 index 000000000..f3008327a --- /dev/null +++ b/integration/snapshots/bundled-entry-point.hmr.js @@ -0,0 +1,30 @@ +import { +__require as require +} from "http://localhost:8080/__runtime.js"; +import { +__HMRModule as HMR +} from "http://localhost:8080/__runtime.js"; +import { +__HMRClient as Bun +} from "http://localhost:8080/__runtime.js"; +import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; +Bun.activate(false); + +var hmr = new HMR(3012834585, "bundled-entry-point.js"), exports = hmr.exports; +(hmr._load = function() { + var hello = null ?? "world"; + function test() { + return testDone(import.meta.url); + } + hmr.exportAll({ + test: () => test + }); +})(); +var $$hmr_test = hmr.exports.test; +hmr._update = function(exports) { + $$hmr_test = exports.test; +}; + +export { + $$hmr_test as test +}; |