UNPKG

smartsass

Version:

smart wrapper for sass

23 lines (22 loc) 618 B
import { Result } from 'node-sass'; export interface ISmartsassConstructorOptions { entryFilePath: string; includePaths?: string[]; } export declare class Smartsass { includePaths: any[]; entryFilePath: string; constructor(optionsArg: ISmartsassConstructorOptions); /** * add further include paths */ addIncludePaths(includePathsArray: string[]): void; /** * renders the Smartsass classes' entryfile and returns result as string */ render(): Promise<Result>; /** * renders and stores */ renderAndStore(outputFilePath: string): Promise<void>; }