UNPKG

1.88 kBTypeScriptView Raw
1export declare function getBaseWebpackConfigForManifestMetadata(entry: any, bundleOutputDir: any, wcDomProps: any, enableTreeShaking?: boolean): {
2 devtool: boolean;
3 mode: string;
4 context: any;
5 entry: any;
6 cache: {
7 type: string;
8 };
9 stats: {
10 all: boolean;
11 maxModules: number;
12 errors: boolean;
13 };
14 resolve: {
15 extensions: string[];
16 symlinks: boolean;
17 cacheWithContext: boolean;
18 descriptionFiles: string[];
19 alias: {
20 'vue$': string;
21 };
22 };
23 output: {
24 pathinfo: boolean;
25 path: any;
26 filename: string;
27 };
28 externals: ((context: any, request: any, callback: any) => any)[];
29 module: {
30 noParse: RegExp;
31 rules: ({
32 test: RegExp;
33 use: ({
34 loader: string;
35 options?: undefined;
36 } | {
37 loader: string;
38 options: any;
39 })[];
40 } | {
41 test: RegExp;
42 exclude: RegExp;
43 use: ({
44 loader: string;
45 options?: undefined;
46 } | {
47 loader: any;
48 options: any;
49 })[];
50 } | {
51 parser: {
52 amd: boolean;
53 harmony: boolean;
54 };
55 test?: undefined;
56 use?: undefined;
57 loader?: undefined;
58 } | {
59 test: RegExp;
60 use: string[];
61 parser?: undefined;
62 loader?: undefined;
63 } | {
64 test: RegExp;
65 loader: string;
66 parser?: undefined;
67 use?: undefined;
68 })[];
69 };
70};
71export declare var cacheKeys: {
72 bundleManifests: string;
73};
74
\No newline at end of file