builder

@ui5/builder. builder

Methods

(static) build(parameters) → {Promise}

Source:
Configures the project build and starts it.
Parameters:
Name Type Description
parameters object Parameters
Properties
Name Type Attributes Default Description
tree object Project tree as generated by the @ui5/project.normalizer
destPath string Target path
cleanDest boolean <optional>
false Decides whether project should clean the target path before build
buildDependencies boolean <optional>
false Decides whether project dependencies are built as well
includedDependencies Array.<(string|RegExp)> <optional>
[] List of build dependencies to be included if buildDependencies is true
excludedDependencies Array.<(string|RegExp)> <optional>
[] List of build dependencies to be excluded if buildDependencies is true. If the wildcard '*' is provided, only the included dependencies will be built.
dev boolean <optional>
false Decides whether a development build should be activated (skips non-essential and time-intensive tasks)
selfContained boolean <optional>
false Flag to activate self contained build
jsdoc boolean <optional>
false Flag to activate JSDoc build
includedTasks Array.<string> <optional>
[] List of tasks to be included
excludedTasks Array.<string> <optional>
[] List of tasks to be excluded. If the wildcard '*' is provided, only the included tasks will be executed.
devExcludeProject Array.<string> <optional>
[] List of projects to be excluded from development build
Returns:
Promise resolving to undefined once build has finished
Type
Promise