CacheOptions
Tailwind class name cache configuration.
Propertiesβ
enabled?β
Optional | enabled:
boolean
Whether to enable caching.
cwd?β
Optional | cwd:
string
The working directory used when resolving cache paths.
dir?β
Optional | dir:
string
Cache files are written to the directory.
file?β
Optional | file:
string
Cache file name. When not passed in, class-cache.json will be used in the derived cache directory.
strategy?β
Optional | strategy:
CacheStrategy
The strategy used when merging a new class name list with an existing cache.
driver?β
Optional | driver:
CacheDriver
Cache persistence method. By default file is used.