UNPKG

650 BTypeScriptView Raw
1import { BundleOptions, ServiceOptions, ServiceType } from "@excitare/cli-types";
2import webpack from "webpack";
3export 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}
16declare type Mode = "development" | "production";
17export declare function configureWebpack(mode: Mode, type: ServiceType, configuration: IConfiguration): webpack.Configuration;
18export {};
19//# sourceMappingURL=index.d.ts.map
\No newline at end of file