mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
ok
This commit is contained in:
@@ -2575,7 +2575,7 @@ pub const ModuleLoader = struct {
|
||||
.is_commonjs_module = file.module_format == .cjs,
|
||||
};
|
||||
}
|
||||
} else if (is_allowed_to_use_internal_testing_apis) {
|
||||
} else if (is_allowed_to_use_internal_testing_apis or Environment.isDebug) {
|
||||
if (internal_modules.getWithEql(specifier, bun.String.eqlComptime)) |tag| {
|
||||
return jsSyntheticModule(tag, specifier);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user