Urara-Blog/node_modules/.pnpm-store/v3/files/ca/c11254a3560f5ab6ef33b29f1f43e39e4af10845cc710b0f679e9bb7a76b1e121f0993603dcfa31f33946809b79dcbd26260b2a87a02f2c483ca3c58799b30
2022-08-14 01:14:53 +08:00

24 lines
764 B
Text

import { SourceCodeTransformer } from '@unocss/core';
declare type FilterPattern = Array<string | RegExp> | string | RegExp | null;
interface TransformerAttributifyJsxOptions {
/**
* the list of attributes to ignore
* @default []
*/
blocklist?: (string | RegExp)[];
/**
* Regex of modules to be included from processing
* @default [/\.[jt]sx$/, /\.mdx$/]
*/
include?: FilterPattern;
/**
* Regex of modules to exclude from processing
*
* @default []
*/
exclude?: FilterPattern;
}
declare function transformerAttributifyJsx(options?: TransformerAttributifyJsxOptions): SourceCodeTransformer;
export { FilterPattern, TransformerAttributifyJsxOptions, transformerAttributifyJsx as default };