Configuration and options can be defined creating a
mocks-server.config.js file in the root folder of your project (a custom file path can be defined using the
configFile low level configuration property).
The first level properties returned by this configuration file will be interpreted as low level configuration properties.
The configuration file can export an object containing configuration and options:
The configuration file can export a function. The function receives previously defined configuration (from previous config methods) that can be modified.
The configuration file can also export an async function, or a function returning a Promise: