fix: resolve relative path on windows (#27)

pull/35/head
Carlos Rodrigues 4 years ago committed by GitHub
parent 61adfc4dbf
commit 9116c9c3e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,7 @@ export interface SiteConfig<ThemeConfig = any> {
}
const resolve = (root: string, file: string) =>
path.join(root, `.vitepress`, file)
path.resolve(root, `.vitepress`, file)
export async function resolveConfig(
root: string = process.cwd()

Loading…
Cancel
Save