MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / lazyRouteFiles

Function lazyRouteFiles

src/resolution/frameworks/react.ts:494–498  ·  view source on GitHub ↗

The files `lazyRouteComponent` reads: the module, and the ones a barrel forwards it to.

(spec: string, fromFile: string, context: ResolutionContext)

Source from the content-addressed store, hash-verified

492
493/** The files `lazyRouteComponent` reads: the module, and the ones a barrel forwards it to. */
494function lazyRouteFiles(spec: string, fromFile: string, context: ResolutionContext): string[] {
495 const reads = new Set<string>();
496 lazyRouteComponent(spec, fromFile, context, reads);
497 return [...reads];
498}
499
500/**
501 * The component a lazy route's loader picks from the module `spec` loads: the

Callers 1

lazyModulesFunction · 0.85

Calls 1

lazyRouteComponentFunction · 0.85

Tested by

no test coverage detected