An array of modules that are part of the module graph.
optional
imports: GraphImportJson[]
External imports that were added to the graph when it was being built.
The key is the referrer which was used as a base to resolve the
dependency. The value is the resolved dependency.
redirects: Record<string, string>
A record/map of any redirects encountered when resolving modules. The
key was the requested module specifier and the value is the redirected
module specifier.