astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
4 lines (3 loc) • 325 B
TypeScript
import type { ModuleLoader, ModuleNode } from '../core/module-loader/index.js';
/** recursively crawl the module graph to get all style files imported by parent id */
export declare function crawlGraph(loader: ModuleLoader, _id: string, isRootFile: boolean, scanned?: Set<string>): AsyncGenerator<ModuleNode, void, unknown>;