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

1
types/shared.d.ts vendored

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

Loading…
Cancel
Save