Skip to main content

Module graph

Module graph 

Source
Expand description

Module dependency graph with re-export chain propagation and reachability analysis.

The graph is built from resolved modules and entry points, then used to determine which files are reachable and which exports are referenced.

Modules§

types
Shared graph types: module nodes, re-export edges, export symbols, and references.

Structs§

ExportSymbol
An export with reference tracking.
ModuleGraph
The core module dependency graph.
ModuleNode
A single module in the graph.
ReExportEdge
A re-export edge, tracking which exports are forwarded from which module.
SymbolReference
A reference to an export from another file.

Enums§

ReferenceKind
How an export is referenced.