References

April 17, 2019 ยท View on GitHub

The configuration file can be broken down into several files by referring to local files with references. Those are simple objects with a single $ref property pointing to the file.

collections:
  example_collection:
    $ref: example_collection.yml

References are deeply merged with their siblings, which allows you to extend a configuration from another configuration.

$ref: base_config.yml
collections: ...
params: ...

Node.js modules

Node.js modules can be imported by appending .node.

params:
  lodash:
    $ref: lodash.node