aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/lodash-regexp.hmr.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-07 19:29:18 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-07 19:29:18 -0700
commit295249cf08bdbb663d4d1eb524e0a14f8e995b44 (patch)
treed02ad385d7a38104c5fdf6d638d3b1f55371a128 /integration/snapshots/lodash-regexp.hmr.js
parent91fb170c4a9c8885436791e5be77924de2e08b0c (diff)
downloadbun-295249cf08bdbb663d4d1eb524e0a14f8e995b44.tar.gz
bun-295249cf08bdbb663d4d1eb524e0a14f8e995b44.tar.zst
bun-295249cf08bdbb663d4d1eb524e0a14f8e995b44.zip
:camera:
Diffstat (limited to 'integration/snapshots/lodash-regexp.hmr.js')
-rw-r--r--integration/snapshots/lodash-regexp.hmr.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/integration/snapshots/lodash-regexp.hmr.js b/integration/snapshots/lodash-regexp.hmr.js
index 38db0f975..b79ab4aca 100644
--- a/integration/snapshots/lodash-regexp.hmr.js
+++ b/integration/snapshots/lodash-regexp.hmr.js
@@ -4,6 +4,8 @@ __require as require
import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
+Bun.activate(false);
+
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
@@ -12,9 +14,8 @@ __FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js";
var { shuffle} = require($60f52dc2);
-Bun.activate(false);
-
var hmr = new FastHMR(2158065009, "lodash-regexp.js", FastRefresh), exports = hmr.exports;
+
(hmr._load = function() {
function test() {
const foo = [1, 2, 3, 4, 6];