@ui5/builder/tasks/bundlers/generateComponentPreload

Methods

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

Description:
  • Task to for application bundling.
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 Options
Properties
Name Type Attributes Default Description
projectName string Project name
excludes Array.<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.
paths Array.<string> <optional>
Array of paths (or glob patterns) for component files
namespaces Array.<string> <optional>
Array of component namespaces
skipBundles Array.<string> <optional>
Names of bundles that should not be created
Returns:
Promise resolving with undefined once data has been written
Type
Promise.<undefined>