-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.d.ts
43 lines (43 loc) · 864 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
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;
hot?: boolean;
inline?: boolean;
proxy?: any;
host?: string;
stats?: string;
quiet?: boolean;
noInfo?: boolean;
watchOptions?: any;
};
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;
};
}