Home > rollup-plugin-purgecss > UserDefinedOptions
UserDefinedOptions type
Options used by PurgeCSS to remove unused CSS
Signature:
export declare type UserDefinedOptions = Omit<PurgeCSSUserDefinedOptions, "css" | "output" | "rejectedCss"> & {
contentFunction?: (sourceFile: string) => Array<string | RawContent>;
output: PurgeCSSUserDefinedOptions["output"] | OutputFunction | boolean;
insert?: boolean;
include?: string | RegExp | (string | RegExp)[];
exclude?: string | RegExp | (string | RegExp)[];
dest?: string;
};
References: OutputFunction