modify-source-webpack-plugin
Version:
Webpack plugin for modifying modules source
15 lines (14 loc) • 609 B
TypeScript
import { AbstractOperation } from './AbstractOperation';
export declare enum ReplaceOperationType {
'once' = "once",
'all' = "all"
}
export declare class ReplaceOperation extends AbstractOperation {
readonly type: keyof typeof ReplaceOperationType;
readonly searchValue: string;
readonly replaceValue: string;
constructor(type: keyof typeof ReplaceOperationType, searchValue: string, replaceValue: string);
getSerializableProperties(): (keyof this & string)[];
getTextProperties(): (keyof this & string)[];
static getAllowedTypes(): ReplaceOperationType[];
}