property VersionFile.customTemplate

When using TemplateFormat.CUSTOM, provide a Vento template string. Template has access to all TemplateData properties and custom filters.

Examples

Example 1

customTemplate: `
  export const VERSION = "{{ version }}";
  export const BUILD_INFO = {{ buildInfo | jsonStringify }};
`

Type

string

Usage

import { type VersionFile } from ".";