1 | import { BuildContext, ChangedFile } from './util/interfaces';
|
2 | export declare function sass(context: BuildContext, configFile?: string): Promise<string>;
|
3 | export declare function sassUpdate(changedFiles: ChangedFile[], context: BuildContext): Promise<string>;
|
4 | export declare function sassWorker(context: BuildContext, configFile: string): Promise<string>;
|
5 | export declare function getSassConfig(context: BuildContext, configFile: string): SassConfig;
|
6 | export interface SassConfig {
|
7 | outputFilename?: string;
|
8 | outFile?: string;
|
9 | file?: string;
|
10 | data?: string;
|
11 | includePaths?: string[];
|
12 | excludeModules?: string[];
|
13 | includeFiles?: RegExp[];
|
14 | excludeFiles?: RegExp[];
|
15 | directoryMaps?: {
|
16 | [key: string]: string;
|
17 | };
|
18 | sortComponentPathsFn?: (a: any, b: any) => number;
|
19 | sortComponentFilesFn?: (a: any, b: any) => number;
|
20 | variableSassFiles?: string[];
|
21 | autoprefixer?: any;
|
22 | sourceMap?: string;
|
23 | omitSourceMapUrl?: boolean;
|
24 | sourceMapContents?: boolean;
|
25 | postCssPlugins?: any[];
|
26 | }
|
27 | export interface SassMap {
|
28 | version: number;
|
29 | file: string;
|
30 | sources: string[];
|
31 | mappings: string;
|
32 | names: any[];
|
33 | }
|