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