UNPKG

1.54 kBTypeScriptView Raw
1import { Configuration } from 'webpack';
2export declare function webpackFinal(config: Configuration): Promise<{
3 plugins: import("webpack").Plugin[];
4 mode?: "none" | "production" | "development";
5 name?: string;
6 context?: string;
7 entry?: string | string[] | import("webpack").Entry | import("webpack").EntryFunc;
8 devtool?: string | boolean;
9 output?: import("webpack").Output;
10 module?: import("webpack").Module;
11 resolve?: import("webpack").Resolve;
12 resolveLoader?: import("webpack").ResolveLoader;
13 externals?: string | RegExp | import("webpack").ExternalsObjectElement | import("webpack").ExternalsFunctionElement | import("webpack").ExternalsElement[];
14 target?: "node" | "web" | "webworker" | "async-node" | "node-webkit" | "atom" | "electron" | "electron-renderer" | "electron-preload" | "electron-main" | ((compiler?: any) => void);
15 bail?: boolean;
16 profile?: boolean;
17 cache?: boolean | object;
18 watch?: boolean;
19 watchOptions?: import("webpack").ICompiler.WatchOptions;
20 node?: false | import("webpack").Node;
21 amd?: {
22 [moduleName: string]: boolean;
23 };
24 recordsPath?: string;
25 recordsInputPath?: string;
26 recordsOutputPath?: string;
27 stats?: import("webpack").Stats.ToStringOptions;
28 performance?: false | import("webpack").Options.Performance;
29 parallelism?: number;
30 optimization?: import("webpack").Options.Optimization;
31 infrastructureLogging?: import("webpack").Options.InfrastructureLogging;
32}>;