Skip to content

@ui5/builder/tasks/bundlers/generateBundle ​

Methods ​

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

Description: Generates a bundle based on the given bundle definition

The default export is the task factory. It receives the task options and returns the task descriptor. The same options are passed to the task body at execution time.

Source: builder/lib/tasks/bundlers/generateBundle.js, line 11

Parameters: ​
NameTypeDescription
optionsobjectOptions
Properties:
NameTypeAttributesDescription
projectNamestringProject name
bundleDefinitionmodule:@ui5/builder/processors/bundlers/moduleBundler~ModuleBundleDefinitionModule
bundle definition
bundleOptionsmodule:@ui5/builder/processors/bundlers/moduleBundler~ModuleBundleOptionsoptionalModule
bundle options
Returns: ​

The task descriptor

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