chore: remove customData option

pull/389/head
Evan You 3 years ago
parent f749b272d4
commit 6085501acb

@ -38,7 +38,6 @@ export interface UserConfig<ThemeConfig = any> {
* Vite config
*/
vite?: ViteConfig
customData?: any
srcDir?: string
srcExclude?: string[]
@ -195,7 +194,6 @@ export async function resolveSiteData(
head: userConfig.head || [],
themeConfig: userConfig.themeConfig || {},
locales: userConfig.locales || {},
langs: createLangDictionary(userConfig),
customData: userConfig.customData || {}
langs: createLangDictionary(userConfig)
}
}

1
types/shared.d.ts vendored

@ -41,7 +41,6 @@ export interface SiteData<ThemeConfig = any> {
label: string
}
>
customData: any
}
export type HeadConfig =

Loading…
Cancel
Save