|
|
@ -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 || {}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|