-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.d.ts
47 lines (47 loc) · 953 Bytes
/
webpack.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
interface WebpackConfig {
cache?: boolean;
target?: string;
devtool?: string;
entry: any;
externals?: any;
output: any;
mode?: string;
module?: any;
plugins?: Array<any>;
resolve?: {
extensions?: Array<string>;
};
devServer?: {
contentBase?: string;
port?: number;
historyApiFallback?: { [key: string]: boolean } | boolean;
https?: boolean;
cert?: any;
key?: any;
hot?: boolean;
inline?: boolean;
proxy?: any;
host?: string;
stats?: string;
quiet?: boolean;
noInfo?: boolean;
watchOptions?: any;
disableHostCheck?: boolean;
};
performance?: {
hints?: boolean;
};
node?: {
process?: boolean;
global?: boolean;
Buffer?: boolean;
crypto?: boolean;
module?: boolean;
clearImmediate?: boolean;
setImmediate?: boolean;
clearTimeout?: boolean;
setTimeout?: boolean;
__dirname?: boolean;
__filename?: boolean;
};
}