@metagptx/vite-plugin-testid-checker
Version:
A Vite plugin for testid checker
20 lines (17 loc) • 442 B
TypeScript
type PluginOptions = {
include?: string | string[];
exclude?: string | string[];
attributes?: string[];
};
declare function vitePluginTestIdChecker(options?: PluginOptions): {
name: string;
enforce: "pre";
apply: "build";
version: string;
transform(code: string, id: string): Promise<{
code: string;
map?: any;
} | undefined>;
buildEnd(): void;
};
export { vitePluginTestIdChecker };