@fe-fast/code-sweeper
Version:
A lightweight JavaScript/TypeScript code cleaning tool
12 lines (11 loc) • 394 B
TypeScript
import { CleanRules } from '@fe-fast/code-sweeper';
import type { Plugin } from 'vite';
export interface CodeSweeperVitePluginOptions {
include?: string[];
exclude?: string[];
dryRun?: boolean;
skipConfirmation?: boolean;
rules?: Partial<CleanRules>;
}
export default function codeSweeperPlugin(options?: CodeSweeperVitePluginOptions): Plugin;
export { codeSweeperPlugin };