1 | import { BundleOptions, ServiceOptions, ServiceType } from "@excitare/cli-types";
|
2 | import webpack from "webpack";
|
3 | export interface IConfiguration {
|
4 | entry: string;
|
5 | context: string;
|
6 | outputDir: string;
|
7 | outputName: string;
|
8 | name: string;
|
9 | rootDir: string;
|
10 | externals: string[];
|
11 | bundleOptions: BundleOptions;
|
12 | iconOptions?: ServiceOptions.Icon & {
|
13 | inputDir: string;
|
14 | };
|
15 | }
|
16 | declare type Mode = "development" | "production";
|
17 | export declare function configureWebpack(mode: Mode, type: ServiceType, configuration: IConfiguration): webpack.Configuration;
|
18 | export {};
|
19 |
|
\ | No newline at end of file |