Skip to main content

build_node_module_import_paths

Function build_node_module_import_paths 

Source
pub fn build_node_module_import_paths(main_module_path: &Url) -> Vec<Url>
Expand description

Build all ancestor directory URLs from the main module URL, to be used as starting points for node_modules scanning. Mirrors ModuleStateBuilder.buildNodeModuleImportPaths.

main_module_path must be a directory URL (ending with /).