@stylable/core
Version:
CSS for Components
17 lines • 476 B
TypeScript
import { MinimalFS } from './cached-process-file';
export interface File {
content: string;
mtime?: Date;
}
export interface MinimalFSSetup {
files: {
[absolutePath: string]: File;
};
trimWS?: boolean;
}
export declare function createMinimalFS({ files, trimWS }: MinimalFSSetup): {
fs: MinimalFS;
requireModule: (id: string) => any;
resolvePath: (_ctx: string, path: string) => string;
};
//# sourceMappingURL=memory-minimal-fs.d.ts.map