UNPKG

st-bundle

Version:

CLI for watching and bundling SpringType projects.

22 lines (21 loc) 823 B
import { IStyleSheetProps } from '../config/IStylesheetProps'; import { Context } from '../core/Context'; export interface ICSSResolveURLProps { filePath: string; contents: string; options: IStyleSheetProps; ctx: Context; } export interface IURLReplaced { original: string; destination: string; publicPath: string; } export declare function defineResourceGroup(extension: any): "images" | "fonts" | "svg" | "ico" | "documents"; export declare function resolveCSSResource(target: any, props: ICSSResolveURLProps): IURLReplaced; export interface ICSSResolveURLResult { replaced: Array<IURLReplaced>; contents: string; } export declare function mapErrorLine(contents: string, offset: number): string; export declare function cssResolveURL(props: ICSSResolveURLProps): ICSSResolveURLResult;