@ui5/builder/tasks/buildThemes

Methods

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

Description:
  • Task to build a library theme.
Source:
Parameters:
Name Type Description
parameters object Parameters
Properties
Name Type Attributes Description
workspace @ui5/fs/DuplexCollection DuplexCollection to read and write files
dependencies @ui5/fs/AbstractReader Reader or Collection to read dependency files
taskUtil @ui5/builder/tasks/TaskUtil | object <optional>
TaskUtil instance. Required to run buildThemes in parallel execution mode.
options object Options
Properties
Name Type Attributes Default Description
projectName string Project name
inputPattern string Search pattern for *.less files to be built
librariesPattern string <optional>
Search pattern for .library files
themesPattern string <optional>
Search pattern for sap.ui.core theme folders
compress boolean <optional>
true
cssVariables boolean <optional>
false
Returns:
Promise resolving with undefined once data has been written
Type
Promise.<undefined>