import { type ModuleGraphJson } from "https://deno.land/x/deno_graph@0.58.0/mod.ts";
The plain-object representation of a module graph that is suitable for serialization to JSON.
Properties
The module specifiers (URL string) of the roots of the module graph of which the module graph was built for.
modules: ModuleJson[]
An array of modules that are part of the module graph.
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.