forked from SunriseFox/webpack-web-ext-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.d.ts
62 lines (52 loc) · 1.31 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { Plugin } from "webpack";
declare type FirefoxPreferences = Record<string, boolean | string | number>;
declare interface RunParams {
artifactsDir: string;
browserConsole: boolean;
pref?: FirefoxPreferences;
firefox: string;
firefoxProfile?: string;
ignoreFiles?: string[];
keepProfileChanges: boolean;
preInstall: boolean;
sourceDir: string;
watchFile?: string;
startUrl?: string[];
target?: string | string[];
args?: string[];
// Android CLI options.
adbBin?: string;
adbHost?: string;
adbPort?: string;
adbDevice?: string;
adbDiscoveryTimeout?: number;
firefoxApk?: string;
firefoxApkComponent?: string;
// Chromium Desktop CLI options.
chromiumBinary?: string;
chromiumProfile?: string;
noReload: never;
noInput: never;
}
declare interface RunOptions {
buildExtension: any;
desktopNotifications: any;
firefoxApp: any;
firefoxClient: any;
reloadStrategy: any;
MultiExtensionRunner?: any;
getValidatedManifest?: any;
shouldExitProgram: never;
}
declare interface PluginOptions {
verbose: boolean;
timeout: number;
}
declare class WebExtWebpackPlugin extends Plugin {
public constructor(
CmdRunParams?: Partial<RunParams>,
CmdRunOptions?: Partial<RunOptions>,
PluginOptions?: Partial<PluginOptions>
);
}
export = WebExtWebpackPlugin;