Constructor
new ThemeBuilder(fs)
- Description:
- Constructor
- Source:
Parameters:
Name | Type | Description |
---|---|---|
fs |
fs | module:@ui5/fs/fsInterface | Node fs or custom fs interface |
Methods
build(resources, optionsopt) → {Promise.<Array.<@ui5/fs/Resource>>}
- Description:
- Starts the theme build
- Source:
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
resources |
Array.<@ui5/fs/Resource> | Library files | ||||||||||||||||
options |
object |
<optional> |
Build options
Properties
|
Returns:
Resolving with array of created files
- Type
- Promise.<Array.<@ui5/fs/Resource>>
clearCache()
- Description:
- Clears all cached build results. Use this method to prevent high memory consumption when building many themes within the same process.
- Source: