UNPKG

ignore-emit-webpack-plugin

Version:

Prevents ignored files from being emitted during a Webpack build

15 lines (14 loc) 435 B
import { Compiler } from 'webpack'; declare class IgnoreEmitPlugin { private readonly options; private readonly DEBUG; private readonly ignorePatterns; constructor(ignoreRegex?: RegExp | string | Array<RegExp | string>, options?: { debug?: boolean; }); private normalizeRegex; private checkIgnore; apply(compiler: Compiler): void; } export { IgnoreEmitPlugin }; export default IgnoreEmitPlugin;