make checking for bun modules a compile time step

This commit is contained in:
Jarred Sumner
2022-04-10 19:45:43 -07:00
parent 98592fb85d
commit 34c478a4c4
4 changed files with 32 additions and 13 deletions

View File

@@ -1001,6 +1001,7 @@ pub const VirtualMachine = struct {
jsc_vm.origin,
.absolute_path,
false,
true,
);
var printer = source_code_printer.?.*;
var written: usize = undefined;
@@ -1152,6 +1153,7 @@ pub const VirtualMachine = struct {
jsc_vm.origin,
.absolute_path,
false,
true,
);
if (!jsc_vm.macro_mode)