Function deno_graph::create_graph [−][src]
pub async fn create_graph(
roots: Vec<ModuleSpecifier>,
is_dynamic: bool,
maybe_imports: Option<Vec<(ModuleSpecifier, Vec<String>)>>,
loader: &mut dyn Loader,
maybe_resolver: Option<&dyn Resolver>,
maybe_locker: Option<Rc<RefCell<Box<dyn Locker>>>>,
maybe_parser: Option<&dyn SourceParser>
) -> ModuleGraph
Expand description
Create a module graph, based on loading and recursively analyzing the dependencies of the module, returning the resulting graph.