Skip to main content

GenerateOptions interface

Signature:
export interface GenerateOptions 

Properties

PropertyModifiersTypeDescription
bail?boolean(Optional) Stop immediately when an error occurred.
componentsreadonly string[]Glob patterns of component names.
concurrency?number(Optional) Maximum number of concurrent tasks.
extensions?readonly string[](Optional) File extensions of components.
pathstringPath of the component folder.
transform?ResolveOptions["transform"](Optional) Transform a manifest. This function is called when a new manifest is found, and before the validation. The return value will override the data of the manifest. If the return value is undefined or null, the manifest will be removed from the result.
validate?boolean(Optional) Execute validate method of each values.