-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwebpack.config.d.ts
38 lines (38 loc) · 919 Bytes
/
webpack.config.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
import webpack = require("webpack");
import HtmlWebpackPlugin = require("html-webpack-plugin");
export let entry: string;
export let devtool: string;
export namespace devServer {
let _static: string;
export { _static as static };
}
export namespace optimization {
let runtimeChunk: string;
}
export namespace output {
let hashFunction: string;
let path: string;
let filename: string;
let sourceMapFilename: string;
}
export namespace module {
let rules: ({
test: RegExp;
exclude: RegExp;
loader: string;
use?: undefined;
} | {
test: RegExp;
use: string[];
exclude?: undefined;
loader?: undefined;
})[];
}
export let plugins: (webpack.DefinePlugin | HtmlWebpackPlugin)[];
export namespace resolve {
namespace fallback {
let buffer: string;
let crypto: string;
let stream: string;
}
}