loadStudioCMSConfigFile
loadStudioCMSConfigFile(
projectRootUrl
):Promise
<StudioCMSOptions
>
Attempts to import an StudioCMS config file in the Astro project root and returns its default export.
If no config file is found, an empty object is returned.
Parameters
• projectRootUrl: string
| URL
Returns
Promise
<StudioCMSOptions
>
Defined in
packages/studiocms_core/src/lib/configManager.ts:19