Skip to main content

Interface: GenerateOptions

@kosko/generate.GenerateOptions

Properties

bail

Optional bail: boolean

See bail for more info.

Defined in

packages/generate/src/generate.ts:40


components

components: readonly string[]

Patterns of component names.

Example

["*"]

Defined in

packages/generate/src/generate.ts:23


extensions

Optional extensions: readonly string[]

File extensions of components.

Example

["js", "json"]

Defined in

packages/generate/src/generate.ts:30


path

path: string

Path of the component folder.

Defined in

packages/generate/src/generate.ts:16


validate

Optional validate: boolean

See validate for more info.

Defined in

packages/generate/src/generate.ts:35