Skip to content

weapp-vite / GenerateOptions

接口: GenerateOptions

定义于: packages/weapp-vite/src/types/config.ts:56

属性

dirs?

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

定义于: packages/weapp-vite/src/types/config.ts:61

默认生成文件的相对路径


extensions?

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

定义于: packages/weapp-vite/src/types/config.ts:57


filenames?

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

定义于: packages/weapp-vite/src/types/config.ts:65

默认生成文件的名称

Released under the MIT License.