Te signature of the yaml
function used by the yaml.macro is
yaml(path: string, options?: {}): any
Relative path
values should start with .
. I
Internally, the macro uses yaml
and supports its parser options
as a second argument.
As the macro arguments are evaluated at build time, they should not be dynamically modified by preceding code.
Multiple calls to load the same YAML file will not be cached.