接口: TailwindcssPatchOptions
定义于: node_modules/.pnpm/tailwindcss-[email protected]_magicast@[email protected]/node_modules/tailwindcss-patch/dist/index.d.ts:113
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:128
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:118
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:124
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:126
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:130
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:120
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:122
Tailwind-specific configuration grouped by major version.
