Home > @fullhuman/postcss-purgecss > UserDefinedOptions

UserDefinedOptions interface

Options used by PurgeCSS to remove unused CSS

Signature:

export interface UserDefinedOptions extends Omit<PurgeCSSUserDefinedOptions, "content" | "css"> 

Extends: Omit<PurgeCSSUserDefinedOptions, "content" | "css">

Properties

PropertyModifiersTypeDescription
content?PurgeCSSUserDefinedOptions["content"](Optional)
contentFunction?(sourceFile: string) => Array<string | RawContent>(Optional)