mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-25 01:29:13 +08:00
24 lines
764 B
Text
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 };
|