Function

loadConfig

From mothwing ยท src/config.js:216

Imports a folder's mothwing.config.js and resolves it, what the CLI does before it builds.

loadConfig(root?: string): Promise<Site>

Parameters

rootoptionalstringThe folder with mothwing.config.js

Returns

Promise<Site>