Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 755 Bytes

yaml.md

File metadata and controls

16 lines (9 loc) · 755 Bytes

The signature of the yaml function

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.