Skip to content

@ui5/builder/tasks/bundlers/generateFlexChangesBundle

Methods

(static) default(parameters) → {Promise<undefined>}

Description: Task to create changesBundle.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:
NameTypeDescription
parametersobjectParameters
Properties:
NameTypeAttributesDescription
workspace@ui5/fs/DuplexCollectionDuplexCollection to read and write files
taskUtil@ui5/project/build/helpers/TaskUtil | objectoptionalTaskUtil
optionsobjectoptionalOptions
Properties
NameTypeAttributesDescription
projectNamespacestringoptionalProject Namespace
Returns:

Promise resolving with undefined once data has been written

Type: Promise<undefined>