UNPKG

@stylable/core

Version:

CSS for Components

10 lines 828 B
import { FileProcessor, MinimalFS } from './cached-process-file'; import { processNamespace, StylableMeta } from './stylable-processor'; import { TimedCacheOptions } from './timed-cache'; import { Diagnostics } from './diagnostics'; export interface StylableInfrastructure { fileProcessor: FileProcessor<StylableMeta>; resolvePath: (context: string | undefined, path: string) => string; } export declare function createInfrastructure(projectRoot: string, fileSystem: MinimalFS, onProcess?: (meta: StylableMeta, path: string) => StylableMeta, resolveOptions?: any, resolveNamespace?: typeof processNamespace, timedCacheOptions?: Omit<TimedCacheOptions, 'createKey'>, resolveModule?: import("./types").ModuleResolver, diagnostics?: Diagnostics): StylableInfrastructure; //# sourceMappingURL=create-infra-structure.d.ts.map