weapp-tailwindcss
Version:
把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!
14 lines (13 loc) • 547 B
TypeScript
import type { NodePath } from '@babel/traverse';
import type { Node } from '@babel/types';
import type { NameMatcher } from '../utils/nameMatcher.js';
interface TaggedTemplateIgnoreOptions {
matcher: NameMatcher;
names?: (string | RegExp)[];
}
interface TaggedTemplateIgnore {
shouldIgnore: (tagPath: NodePath<Node>) => boolean;
getEffectiveTagPath: (tagPath: NodePath<Node>) => NodePath<Node>;
}
export declare function createTaggedTemplateIgnore({ matcher, names }: TaggedTemplateIgnoreOptions): TaggedTemplateIgnore;
export {};