aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/lodash-regexp.hmr.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-23 03:15:27 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-23 03:15:27 -0700
commit683b171c3ffc54957e1f02952938ff010fdcbbe0 (patch)
tree9ff186957214f6bccc696f5093cb88b0e39a40aa /integration/snapshots/lodash-regexp.hmr.debug.js
parentea241fcec7add6187ec915ed0b3983f3be0529f9 (diff)
downloadbun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.gz
bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.zst
bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.zip
:camera:
Diffstat (limited to 'integration/snapshots/lodash-regexp.hmr.debug.js')
-rw-r--r--integration/snapshots/lodash-regexp.hmr.debug.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/integration/snapshots/lodash-regexp.hmr.debug.js b/integration/snapshots/lodash-regexp.hmr.debug.js
index af65c1b5b..959e9e9c1 100644
--- a/integration/snapshots/lodash-regexp.hmr.debug.js
+++ b/integration/snapshots/lodash-regexp.hmr.debug.js
@@ -4,6 +4,8 @@ __require as require
import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
+Bun.activate(true);
+
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(true);
-
var hmr = new FastHMR(2158065009, "lodash-regexp.js", FastRefresh), exports = hmr.exports;
+
(hmr._load = function() {
function test() {
const foo = [1, 2, 3, 4, 6];