From 9116c9c3e06071f34b523cb488d9e5d963808a3c Mon Sep 17 00:00:00 2001 From: Carlos Rodrigues Date: Thu, 2 Jul 2020 21:09:04 +0100 Subject: [PATCH] fix: resolve relative path on windows (#27) --- src/node/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/config.ts b/src/node/config.ts index 88386706..39effaa1 100644 --- a/src/node/config.ts +++ b/src/node/config.ts @@ -29,7 +29,7 @@ export interface SiteConfig { } const resolve = (root: string, file: string) => - path.join(root, `.vitepress`, file) + path.resolve(root, `.vitepress`, file) export async function resolveConfig( root: string = process.cwd()