mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Don't import __FastRefreshRuntime if it's a CJS transform
This commit is contained in:
@@ -2169,6 +2169,7 @@ pub const Parser = struct {
|
||||
p.options.features.react_fast_refresh = false;
|
||||
p.runtime_imports.__HMRModule = null;
|
||||
p.runtime_imports.__FastRefreshModule = null;
|
||||
p.runtime_imports.__FastRefreshRuntime = null;
|
||||
p.runtime_imports.__HMRClient = null;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user