diff options
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r-- | cli/module_loader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 3f5e82d8c..f193c7e15 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -738,7 +738,7 @@ impl CliNodeResolver { .with_context(|| format!("Could not resolve '{}'.", req_ref)) } - fn resolve_package_sub_path( + pub fn resolve_package_sub_path( &self, package_folder: &Path, sub_path: Option<&str>, @@ -881,7 +881,7 @@ impl NpmModuleLoader { } /// Keeps track of what module specifiers were resolved as CJS. -#[derive(Default)] +#[derive(Debug, Default)] pub struct CjsResolutionStore(Mutex<HashSet<ModuleSpecifier>>); impl CjsResolutionStore { |