Skip to content

@ui5/builder/tasks/bundlers/generateFlexChangesBundle ​

Methods ​

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

Description: Task to create changes-bundle.json file containing all changes stored in the /changes folder for easier consumption at runtime. If a change bundle is created, "sap.ui.fl" is added as a dependency to the manifest.json if not already present - if the dependency is already listed but lazy-loaded, lazy loading is disabled. If minUI5Version >= 1.73 flexibility-bundle.json is created. If there are control variants and minUI5Version < 1.73 build will break and throw an error.

Source: builder/lib/tasks/bundlers/generateFlexChangesBundle.js, line 12

Parameters: ​
NameTypeAttributesDescription
optionsobjectoptionalOptions
Properties:
NameTypeAttributesDescription
projectNamespacestringoptionalProject Namespace
Returns: ​

The task descriptor

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