st-bundle
Version:
CLI for watching and bundling SpringType projects.
29 lines (28 loc) • 920 B
TypeScript
import { IStyleSheetProps } from '../config/IStylesheetProps';
import { Context } from '../core/Context';
import { Module } from '../core/Module';
import { ICSSHandleResourcesProps } from './cssHandleResources';
import { IStylesheetModuleResponse, IStyleSheetProcessor } from './interfaces';
export interface ISassProps {
macros?: {
[key: string]: string;
};
}
export interface ISassHandlerProps {
ctx: Context;
module: Module;
options: IStyleSheetProps;
}
interface IRenderModuleProps {
options?: IStyleSheetProps;
ctx: Context;
module: Module;
nodeSass: any;
}
export declare function sassImporter(props: ICSSHandleResourcesProps): {
file: string;
contents: string;
};
export declare function renderModule(props: IRenderModuleProps): Promise<IStylesheetModuleResponse>;
export declare function sassHandler(props: ISassHandlerProps): IStyleSheetProcessor;
export {};