@ui5/builder/processors/stringReplacer

Methods

(static) default(parameters) → {Promise.<Array.<@ui5/fs/Resource>>}

Description:
  • Replaces placeholders with corresponding values.
Source:
Parameters:
Name Type Description
parameters object Parameters
Properties
Name Type Description
resources Array.<@ui5/fs/Resource> List of resources to be processed
options object Options
Properties
Name Type Description
pattern string Pattern of placeholders
replacement string Replacement for placeholders
Returns:
Promise resolving with modified resources
Type
Promise.<Array.<@ui5/fs/Resource>>