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
rootoptional | string | The folder with mothwing.config.js |
|---|
Returns
Promise<Site>