Skip to content

@ui5/builder/tasks/bundlers/generateComponentPreload ​

Methods ​

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

Description: Task for Component preload bundling.

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/generateComponentPreload.js, line 13

Parameters: ​
NameTypeDescription
optionsobjectOptions
Properties:
NameTypeAttributesDefaultDescription
projectNamestringProject name
excludesArray<string>optional[]List of modules declared as glob patterns (resource name patterns)
that should be excluded.
A pattern ending with a slash '/' will, similarly to the use of a single '*' or double '**' asterisk,
denote an arbitrary number of characters or folder names.
Re-includes should be marked with a leading exclamation mark '!'. The order of filters is relevant; a later
inclusion overrides an earlier exclusion, and vice versa.
pathsArray<string>optionalArray of paths (or glob patterns) for component files
namespacesArray<string>optionalArray of component namespaces
skipBundlesArray<string>optionalNames of bundles that should not be created
Returns: ​

The task descriptor

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