UNPKG

@matheo/ng-packagr

Version:

Compile and package Angular libraries in Angular Package Format (APF)

25 lines (24 loc) 670 B
export declare enum CssUrl { inline = "inline", none = "none" } export interface WorkerOptions { filePath: string; basePath: string; browserslistData: string[]; cssUrl?: CssUrl; styleIncludePaths?: string[]; } export interface WorkerResult { css: string; warnings: string[]; } export declare class StylesheetProcessor { readonly basePath: string; readonly cssUrl?: CssUrl; readonly styleIncludePaths?: string[]; private readonly browserslistData; private readonly styleSheetProcessorWorker; constructor(basePath: string, cssUrl?: CssUrl, styleIncludePaths?: string[]); process(filePath: string): string; }