Skip to content

@ui5/builder/tasks/bundlers/generateLibraryPreload ​

Methods ​

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

Description: Task for library bundling.

Source: builder/lib/tasks/bundlers/generateLibraryPreload.js, line 317

Parameters: ​
NameTypeDescription
optionsobjectOptions
Properties:
NameTypeAttributesDefaultDescription
projectNamestringProject name
skipBundlesArray<string>optionalNames of bundles that should not be created
excludesArray<string>optional[]List of modules declared as glob patterns (resource name patterns)
that should be excluded from the library-preload.js bundle.
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.
Returns: ​

The task descriptor

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