pub async fn create_graph(
    roots: Vec<(ModuleSpecifier, ModuleKind)>,
    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>,
    maybe_reporter: Option<&dyn Reporter>
) -> ModuleGraph
Expand description

Create a module graph, based on loading and recursively analyzing the dependencies of the module, returning the resulting graph.