@ui5/builder/tasks/replaceCopyright
Methods
(static) default(parameters) → {Promise<undefined>}
Description: Task to to replace the copyright.
The following placeholders are replaced with corresponding values:
- ${copyright}
- @copyright@
If the copyright string contains the optional placeholder ${currentYear} it will be replaced with the current year. If no copyright string is given, no replacement is being done.
Source: builder/lib/tasks/replaceCopyright.js, line 8
Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | object | Parameters Properties:
|
Returns:
Promise resolving with undefined once data has been written
Type: Promise<undefined>

