1 |
|
2 |
|
3 |
|
4 |
|
5 | import { WebpackOptions } from "./webpack/interface";
|
6 | import { DevServerOption } from "./devServer";
|
7 |
|
8 | export interface PublishOptions {
|
9 | |
10 |
|
11 |
|
12 | onlinePath: string;
|
13 | |
14 |
|
15 |
|
16 | uatPath: string;
|
17 | |
18 |
|
19 |
|
20 | uatEnv: string[];
|
21 | |
22 |
|
23 |
|
24 | uatMapName: string[];
|
25 | |
26 |
|
27 |
|
28 | mapDir: string;
|
29 | }
|
30 |
|
31 | export type ExtendWebpackConfig = ({ options: WebpackOptions }) => Promise<WebpackOptions>;
|
32 |
|
33 | export interface EZPackOptions {
|
34 |
|
35 | name: string;
|
36 | |
37 |
|
38 |
|
39 | webpack: WebpackOptions;
|
40 | |
41 |
|
42 |
|
43 | devServer: DevServerOption;
|
44 | |
45 |
|
46 |
|
47 | publish: PublishOptions;
|
48 | |
49 |
|
50 |
|
51 | disableEntrySelect?: boolean;
|
52 |
|
53 | |
54 |
|
55 |
|
56 | sentry?: {
|
57 | |
58 |
|
59 |
|
60 | projectName: string;
|
61 | |
62 |
|
63 |
|
64 | host: {
|
65 | online: string;
|
66 | uat: string;
|
67 | };
|
68 | token: {
|
69 | online: string;
|
70 | uat: string;
|
71 | };
|
72 | };
|
73 |
|
74 | extendWebpackConfig?: ExtendWebpackConfig;
|
75 | }
|