Skip to content

weapp-vite / GenerateOptions

接口: GenerateOptions

定义于: types/config.ts:82

属性

dirs?

optional dirs: Partial<{ app: string; component: string; page: string; }>

定义于: types/config.ts:90

默认生成文件的相对路径


extensions?

optional extensions: Partial<{ js: string & object | "js" | "ts"; json: string & object | "json" | "js" | "ts"; wxml: string & object | "wxml"; wxss: string & object | "wxss" | "scss" | "less" | "css"; }>

定义于: types/config.ts:86

生成文件的扩展名


filenames?

optional filenames: Partial<{ app: string; component: string; page: string; }>

定义于: types/config.ts:94

默认生成文件的名称

Released under the MIT License.