@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 will be create. If there are control variants and minUI5Version < 1.73 build will break and throw an error.
Source:
Parameters:
Name Type Description
parameters object Parameters
Properties
Name Type Attributes Description
workspace @ui5/fs/DuplexCollection DuplexCollection to read and write files
taskUtil @ui5/project/build/helpers/TaskUtil | object <optional>
TaskUtil
options object <optional>
Options
Properties
Name Type Attributes Description
projectNamespace string <optional>
Project Namespace
Returns:
Promise resolving with undefined once data has been written
Type
Promise.<undefined>