1 | import DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin');
|
2 | import * as webpack from 'webpack';
|
3 | export declare namespace WPPlugin {
|
4 | |
5 |
|
6 |
|
7 | class FrontEndPlugin {
|
8 | constructor(buildDir: string, staticDir: string);
|
9 | apply(compiler: any): void;
|
10 | buildDir: string;
|
11 | staticDir: string;
|
12 | private _first;
|
13 | }
|
14 | /**
|
15 | * A WebPack Plugin that ignores files that are filtered by a callback
|
16 | */
|
17 | class FilterIgnorePlugin extends webpack.IgnorePlugin {
|
18 | constructor(ignored: (path: string) => boolean);
|
19 | checkIgnore(result: any): any | null;
|
20 | ignored: (path: string) => boolean;
|
21 | }
|
22 | /**
|
23 | * A WebPack Plugin that ignores files files that are filtered
|
24 | * by a callback during a `--watch` build
|
25 | */
|
26 | class FilterWatchIgnorePlugin {
|
27 | constructor(ignored: (path: string) => boolean);
|
28 | apply(compiler: any): void;
|
29 | ignored: (path: string) => boolean;
|
30 | }
|
31 | class NowatchDuplicatePackageCheckerPlugin extends DuplicatePackageCheckerPlugin {
|
32 | apply(compiler: any): void;
|
33 | options: DuplicatePackageCheckerPlugin.Options;
|
34 | }
|
35 | }
|