UNPKG

@fe-fast/code-sweeper

Version:

A lightweight JavaScript/TypeScript code cleaning tool

16 lines (15 loc) 490 B
import { CleanRules } from '@fe-fast/code-sweeper'; import type { Compiler } from 'webpack'; export interface CodeSweeperWebpackPluginOptions { include?: string[]; exclude?: string[]; dryRun?: boolean; skipConfirmation?: boolean; rules?: Partial<CleanRules>; } export declare class CodeSweeperWebpackPlugin { private options; constructor(options?: CodeSweeperWebpackPluginOptions); apply(compiler: Compiler): void; } export default CodeSweeperWebpackPlugin;