Skip to main content

Type Alias: AllowOverwrite

AllowOverwrite = object

Defined in: ../../template-types-lib/src/types/template-config-types.ts:91

Allow the templating engine to overwrite these files regex matching the path of the src file in the template relative to the templates/ folder By default if a file in a template is found in the destination the engine will error. ignore will not place the file and not error. If multiple rules match the first will be used

Properties

mode

mode: "overwrite" | "overwrite-warn" | "ignore" | "ignore-warn" | "error"

Defined in: ../../template-types-lib/src/types/template-config-types.ts:93


srcRegex

srcRegex: RegExp

Defined in: ../../template-types-lib/src/types/template-config-types.ts:92