fix: resolve relative path on windows

pull/27/head
Carlos Rodrigues 5 years ago
parent 7519f1f6e3
commit 82c1913765

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