Skip to main content

XpmBuildConfiguration.isTemplate property

Indicates whether this configuration originates from a template.

Signature

isTemplate: boolean;

Remarks

This flag determines the substitution strategy during configuration initialisation, with template configurations requiring more extensive processing.

Template vs regular configuration processing:

  1. Template configurations (isTemplate === true):
    • Entire JSON configuration is stringified and substituted.
    • Matrix parameters available throughout all fields.
    • More expensive but supports matrix references anywhere.
  2. Regular configurations (isTemplate === false):
    • Only inherits field is substituted initially.
    • Other fields processed selectively during inheritance resolution.
    • More efficient for configurations without matrix parameters.

Set to true when templateBuildConfigurationName is defined, indicating the configuration was generated from a template expansion.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.