resolveConfig
On this page
Fills in defaults and validates an Ardo config. Ardo calls it during the build and reports invalid options as one readable error.
import { resolveConfig } from "ardo/config"
resolveConfig(config: ArdoConfig, root: string): ResolvedConfig
Parameters
| Name | Type | Required |
|---|---|---|
config | ArdoConfig | Yes |
root | string | Yes |