diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/linker.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/linker.zig b/src/linker.zig index 6111f3c1c..8be0b14b2 100644 --- a/src/linker.zig +++ b/src/linker.zig @@ -268,6 +268,12 @@ pub const Linker = struct { continue; } + if (JSC.DisabledModule.has(import_record.path.text)) { + import_record.path.is_disabled = true; + import_record.wrap_with_to_module = true; + continue; + } + if (strings.eqlComptime(import_record.path.text, "bun")) { import_record.tag = .bun; continue; |