Skip to content

@ui5/builder/tasks/escapeNonAsciiCharacters ​

Methods ​

(static) default(options) → {module:@ui5/builder/tasks/runTask~TaskDescriptor}
​

Description: Task to escape non ascii characters in properties files resources.

A step-based task: the default export is a factory returning one map step with a key per matched resource, so a delta build re-processes only the resources whose content changed. Escaping is a step's only input, and a resource key is content-addressed, so a changed resource is a new key that re-runs and any removed resource drops its stale output.

Source: builder/lib/tasks/escapeNonAsciiCharacters.js, line 8

Parameters: ​
NameTypeDescription
optionsobjectOptions
Properties:
NameTypeDescription
patternstringGlob pattern to locate the files to be processed
encodingstringsource file encoding either "UTF-8" or "ISO-8859-1"
Returns: ​

The task descriptor with its build steps

Type: module:@ui5/builder/tasks/runTask~TaskDescriptor