Creates an alias for one or more targets.
Alias() can be used to create aliases to other nodes in the build. Aliases can be referenced within other Functions in the BFF config or from the command line. An Alias can refer to one or more nodes, and are typically used to simplify and de-duplicate configurations.
For example, to group multiple build congfigurations under a common 'main' target:
Or to provide a more human-friendly command line target:
Aliases can be nested (i.e. they can refer to other Aliases).
.Targets - String/ArrayOfStrings - (Required)
One or more targets must be provided, either as a string or an array of strings. Targets can be previously defined nodes, or files external to the build process.Example: