exexcepturi
Version:
css-to-ts takes css file and outputs TypeScript file with an exported string containing content of your css file.
16 lines (15 loc) • 489 B
TypeScript
import { Options } from "./contracts";
export declare class CLIHandler {
private options;
constructor(options: Options);
private handleGlob();
private getFilesArray(pattern);
private watchCss();
private onWatchChange;
private onWatchError;
private emitWatchMessage();
private convertFile(filePath);
private constructVarName(fileName);
private constructFileName(fileName, extension?);
private snakeCaseToCamelCase(fileName);
}