1 | export declare type FetchHook = (load: any, fetch: (load: any) => any) => void;
|
2 | export declare type Inject = {
|
3 | indexFile: string;
|
4 | destFile: string;
|
5 | };
|
6 | export declare type ConfigBody = {
|
7 | skip?: boolean;
|
8 | htmlimport?: boolean;
|
9 | includes: string[] | string;
|
10 | excludes: string[];
|
11 | options: {
|
12 | inject: boolean | Inject;
|
13 | sourceMaps: boolean | string;
|
14 | depCache: boolean;
|
15 | minify: boolean;
|
16 | htmlminopts?: any;
|
17 | cssminopts?: any;
|
18 | rev?: boolean;
|
19 | fetch: FetchHook;
|
20 | };
|
21 | };
|
22 | export declare type ConfigHeader = {
|
23 | force?: boolean;
|
24 | baseURL: string;
|
25 | outputPath?: string;
|
26 | configPath: string | string[];
|
27 | injectionConfigPath?: string;
|
28 | builderCfg?: any;
|
29 | };
|
30 | export declare type Config = ConfigHeader & {
|
31 | bundles: {
|
32 | [name: string]: ConfigBody;
|
33 | };
|
34 | };
|
35 | export declare type BundleConfig = ConfigHeader & ConfigBody & {
|
36 | bundleName: string;
|
37 | };
|
38 | export interface SystemConfig {
|
39 | defaultJSExtensions: boolean;
|
40 | baseURL: string;
|
41 | map: any;
|
42 | depCache: any;
|
43 | bundles: any;
|
44 | packages?: any;
|
45 | }
|