Constructor
new ThemeBuilder(fs)
Constructor
Parameters:
Name | Type | Description |
---|---|---|
fs |
fs | module:@ui5/fs.fsInterface | Node fs or custom fs interface |
Methods
build(resources, optionsopt) → {Promise.<Array.<module:@ui5/fs.Resource>>}
Starts the theme build
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
resources |
Array.<module:@ui5/fs.Resource> | Library files | ||||||||||||||||
options |
object |
<optional> |
Build options
Properties
|
Returns:
Resolving with array of created files
- Type
- Promise.<Array.<module:@ui5/fs.Resource>>
clearCache()
Clears all cached build results