接口: TailwindcssPatchOptions
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:114
Root configuration consumed by the Tailwind CSS patch runner.
属性
cache?
optionalcache:boolean|CacheUserOptions
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:129
Cache configuration or boolean to enable/disable quickly.
cwd?
optionalcwd:string
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:119
Base directory used when resolving Tailwind resources.
Defaults to process.cwd().
features?
optionalfeatures:FeatureUserOptions
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:125
Feature toggles for optional helpers.
filter()?
optionalfilter: (className) =>boolean
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:127
Optional function that filters final class names.
参数
className
string
返回
boolean
output?
optionaloutput:OutputUserOptions
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:131
Output configuration or boolean to inherits defaults.
overwrite?
optionaloverwrite:boolean
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:121
Whether to overwrite generated artifacts (e.g., caches, outputs).
tailwind?
optionaltailwind:TailwindUserOptions
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:123
Tailwind-specific configuration grouped by major version.
