diff options
Diffstat (limited to 'integration/snapshots/tsx-fallback-rewrite-works.hmr.js')
-rw-r--r-- | integration/snapshots/tsx-fallback-rewrite-works.hmr.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js new file mode 100644 index 000000000..3f2f754e2 --- /dev/null +++ b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js @@ -0,0 +1,25 @@ +import { +__HMRModule as HMR +} from "http://localhost:8080/__runtime.js"; +import { +__HMRClient as Bun +} from "http://localhost:8080/__runtime.js"; +Bun.activate(false); + +var hmr = new HMR(2117426367, "tsx-fallback-rewrite-works.tsx"), exports = hmr.exports; +(hmr._load = function() { + 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 +}; |