Skip to content

@ui5/builder/tasks/enhanceManifest ​

Methods ​

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

Description: Task for transforming the manifest.json file. Adds missing information based on the available project resources, for example the locales supported by the present i18n resources.

A step-based task: the default export is a factory returning one map step with a key per matched manifest.json. The processor reads the i18n bundle files next to each manifest through the step's workspace, so those reads are recorded as inputs of that step: editing a manifest or adding, removing, or changing one of its i18n files re-runs only the owning manifest's step on a delta build and leaves the others served from cache.

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

Parameters: ​
NameTypeDescription
optionsobjectOptions
Properties:
NameTypeDescription
projectNamespacestringNamespace of the application
Returns: ​

The task descriptor with its build steps

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