astro-ghostcms/.pnpm-store/v3/files/f2/2e68cb482277e368b734829c33b...

25 lines
766 B
Plaintext
Raw Permalink Normal View History

2024-02-14 14:10:47 +00:00
import { SourceCodeTransformer } from '@unocss/core';
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 { type FilterPattern, type TransformerAttributifyJsxOptions, transformerAttributifyJsx as default };