1 | import { IProjectConfig, IH5Config } from '@tarojs/taro/types/compile'
|
2 |
|
3 | export interface IBuildData {
|
4 | appPath: string,
|
5 | projectConfig: IProjectConfig,
|
6 | sourceDirName: string,
|
7 | outputDirName: string,
|
8 | sourceDir: string,
|
9 | entryFilePath: string,
|
10 | entryFileName: string,
|
11 | tempPath: string,
|
12 | rnTempPath: string
|
13 | }
|
14 |
|
15 | export interface IH5BuildConfig extends IH5Config {
|
16 | env?: object,
|
17 | defineConstants?: object,
|
18 | plugins?: any[],
|
19 | designWidth?: number,
|
20 | deviceRatio?: object,
|
21 | sourceRoot?: string,
|
22 | outputRoot?: string,
|
23 | isWatch?: boolean,
|
24 | babel?: object,
|
25 | sass?: object,
|
26 | csso?: object,
|
27 | uglify?: object
|
28 | }
|