weapp-vite / GenerateOptions
接口: GenerateOptions
定义于: types/config.ts:116
属性
dirs?
optional
dirs:Partial
<{app
:string
;component
:string
;page
:string
; }>
定义于: types/config.ts:124
默认生成文件的相对路径
extensions?
optional
extensions:Partial
<{js
:string
&object
|"js"
|"ts"
;json
:string
&object
|"js"
|"ts"
|"json"
;wxml
:string
&object
|"wxml"
;wxss
:string
&object
|"wxss"
|"scss"
|"less"
|"css"
; }>
定义于: types/config.ts:120
生成文件的扩展名
filenames?
optional
filenames:Partial
<{app
:string
;component
:string
;page
:string
; }>
定义于: types/config.ts:128
默认生成文件的名称
templates?
optional
templates:Partial
<Record
<GenerateTemplateScope
,Partial
<Record
<GenerateFileType
,GenerateTemplate
>>>>
定义于: types/config.ts:132
自定义模板