Escape provides the Mustache templating language and integrates it with the package’s Variables, making for a quick and easy way to render files at either build or deploy time.

Escape Plan

Templates are configured in the Escape Plan under the templates field.

filestringThe file containing the template. This field is required.
targetstringThe target location for the rendered template. If the source location specified in file has the .tpl extension this target will default to source location minus that extension.
For example: if file is "hello.txt.tpl" then the default value for target will be "hello.txt"
scopesscopes.ScopesA list of scopes (build, deploy) that defines during which stage(s) the template should be rendered.
mapping{string:any}This mapping can be used to relate template variables to Escape variables.