@push.rocks/smartsass
Version:
smart wrapper for sass
25 lines (24 loc) • 681 B
TypeScript
import * as plugins from './smartsass.plugins';
export interface ISmartsassConstructorOptions {
data?: string;
entryFilePath?: string;
includePaths?: string[];
}
export declare class Smartsass {
includePaths: any[];
entryFilePath: string;
data: string;
constructor(optionsArg: ISmartsassConstructorOptions);
/**
* add further include paths
*/
addIncludePaths(includePathsArray: string[]): void;
/**
* renders the Smartsass classes' entryfile and returns result as string
*/
render(): Promise<plugins.sass.Result>;
/**
* renders and stores
*/
renderAndStore(outputFilePath: string): Promise<void>;
}