import { type ModuleGraphJson } from "https://deno.land/x/deno_graph@0.49.0/types.d.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.
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.