From 82c1913765cb61a5c4b0f4bfe2b3d4c2df868c98 Mon Sep 17 00:00:00 2001 From: Carlos Rodrigues Date: Tue, 16 Jun 2020 19:30:33 +0100 Subject: [PATCH] fix: resolve relative path on windows --- 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()