CacheOptions
Configures how the Tailwind class cache is stored and where it lives on disk.
属性
enabled?
optionalenabled:boolean
Whether caching is enabled.
cwd?
optionalcwd:string
Working directory used when resolving cache paths.
dir?
optionaldir:string
Directory where cache files are written.
file?
optionalfile:string
Cache filename. Defaults to class-cache.json inside the derived cache folder
when omitted.
strategy?
optionalstrategy:CacheStrategy
Strategy used when merging new class lists with an existing cache.
driver?
optionaldriver:CacheDriver
Backend used to persist the cache (file, memory, or noop). Defaults to file.