1 | import { BuildContext, ChangedFile } from './util/interfaces';
|
2 | export declare function webpack(context: BuildContext, configFile: string): Promise<void>;
|
3 | export declare function webpackUpdate(changedFiles: ChangedFile[], context: BuildContext, configFile?: string): Promise<void>;
|
4 | export declare function webpackWorker(context: BuildContext, configFile: string): Promise<any>;
|
5 | export declare function setBundledFiles(context: BuildContext): void;
|
6 | export declare function runWebpackFullBuild(config: WebpackConfig): Promise<{}>;
|
7 | export declare function getWebpackConfig(context: BuildContext, configFile: string): WebpackConfig;
|
8 | export declare function getWebpackConfigFromDictionary(context: BuildContext, webpackConfigDictionary: any): WebpackConfig;
|
9 | export declare function getOutputDest(context: BuildContext): string;
|
10 | export interface WebpackConfig {
|
11 | devtool: string;
|
12 | entry: string | {
|
13 | [key: string]: any;
|
14 | };
|
15 | output: WebpackOutputObject;
|
16 | resolve: WebpackResolveObject;
|
17 | }
|
18 | export interface WebpackOutputObject {
|
19 | path: string;
|
20 | filename: string;
|
21 | }
|
22 | export interface WebpackResolveObject {
|
23 | extensions: string[];
|
24 | modules: string[];
|
25 | }
|