diff options
author | 2022-04-06 23:36:30 -0700 | |
---|---|---|
committer | 2022-04-06 23:36:30 -0700 | |
commit | 964aa40612bdc8c570c557185988d08fce712849 (patch) | |
tree | 4b6960179beaee8e2c950adc209ae84f72f63823 | |
parent | 7e58c7e89af5893250cccb1e5381101cf00d9c21 (diff) | |
download | bun-964aa40612bdc8c570c557185988d08fce712849.tar.gz bun-964aa40612bdc8c570c557185988d08fce712849.tar.zst bun-964aa40612bdc8c570c557185988d08fce712849.zip |
Update runtime.zig
-rw-r--r-- | src/runtime.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/runtime.zig b/src/runtime.zig index ecce90a74..08d23ac7e 100644 --- a/src/runtime.zig +++ b/src/runtime.zig @@ -304,6 +304,9 @@ pub const Runtime = struct { __FastRefreshRuntime: ?GeneratedSymbol = null, pub const all = [_][]const u8{ + // __HMRClient goes first + // This is so we can call Bun.activate(true) as soon as possible + "__HMRClient", "__name", "__toModule", "__require", @@ -314,7 +317,6 @@ pub const Runtime = struct { "$$m", "$$lzy", "__HMRModule", - "__HMRClient", "__FastRefreshModule", "__exportValue", "__exportDefault", |