Options passed to Init#build

interface BuildOptions {
    exclude?: string | string[];
    include?: string | string[];
    target: string;
    templateSettings?: TemplateSettings;
    templates?: string;
}

Properties

exclude?: string | string[]

Pattern or patterns of files to exclude. Defaults to [] (ie, include everything). Overrides the include option.

include?: string | string[]

Pattern or patterns of files to include. Defaults to '**' (ie, include everything). Set to an empty array to include nothing.

target: string

Target folder where the output will be written

templateSettings?: TemplateSettings

Mustache settings that can override the defaults

templates?: string

Folder where the templates live, relative to the main script used to initialize. Defaults to './templates'