mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
Fix bug with bun build --compile (#5102)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
@@ -1516,9 +1516,9 @@ pub const VirtualMachine = struct {
|
||||
ret.result = null;
|
||||
ret.path = specifier;
|
||||
return;
|
||||
} else if (JSC.HardcodedModule.Map.get(specifier)) |result| {
|
||||
} else if (JSC.HardcodedModule.Aliases.get(specifier, .bun)) |result| {
|
||||
ret.result = null;
|
||||
ret.path = @as(string, @tagName(result));
|
||||
ret.path = result.path;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user