pub fn build_module_graph(entry_path: &Path) -> Result<ModuleGraph, ModuleError>Expand description
Build a module graph starting from the entry file.
This function:
- Parses the entry file
- Extracts import declarations
- Recursively resolves and parses imported modules
- Builds the dependency graph
All internal state uses BTreeMap/BTreeSet for deterministic ordering.