ngx-unused-css
Version:
Detect unused CSS in angular components
17 lines (16 loc) • 460 B
TypeScript
import { FileImporter, Importer } from 'sass';
export interface Ignore {
file: string;
all?: boolean;
selectors?: string[];
}
export declare type SupportedStyleExtensions = 'scss' | 'sass' | 'css';
export interface Config {
path: string;
styleExt?: SupportedStyleExtensions;
ignore: (string | Ignore)[];
importer?: Importer<'sync'> | FileImporter<'sync'>;
includePaths?: string[];
globalStyles?: string;
cli: boolean;
}