Home > purgecss > PurgeCSS > extractSelectorsFromFiles
PurgeCSS.extractSelectorsFromFiles() method
Extract the selectors present in the files using a PurgeCSS extractor
Signature:
extractSelectorsFromFiles(files: string[], extractors: Extractors[]): Promise<ExtractorResultSets>;
Parameters
Parameter | Type | Description |
---|---|---|
files | string[] | Array of files path or glob pattern |
extractors | Extractors[] | Array of extractors |
Returns:
Promise<ExtractorResultSets>