1 | import * as webpack from 'webpack';
|
2 | export declare type ExcludeOption = string | RegExp;
|
3 | export interface Options {
|
4 | exclude: ExcludeOption[];
|
5 | }
|
6 | export declare function findUnexpectedRemovals(compilation: webpack.compilation.Compilation, { exclude }: Options): any[];
|
7 | export declare class FailOnUnexpectedModuleShakingPlugin implements webpack.Plugin {
|
8 | private options;
|
9 | constructor(options?: Partial<Options>);
|
10 | apply(compiler: webpack.Compiler): void;
|
11 | }
|