Home > purgecss > ContentCache > prune
ContentCache.prune() method
Remove the files that are not in the given list, e.g. the files of a previous build that the content globs no longer match
Signature:
prune(filePaths: Iterable<string>): number;
Parameters
Parameter | Type | Description |
|---|---|---|
filePaths | Iterable<string> | paths of the files to keep |
Returns:
number
the number of files removed
