From 055e3fd043b6ec425f1b0a0cf529bc1ff66acda5 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 1 Jan 2021 13:20:11 -0500 Subject: [PATCH] fix: respect root during build --- src/node/build/bundle.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/build/bundle.ts b/src/node/build/bundle.ts index 53062592a2dc..9fc38db92a21 100644 --- a/src/node/build/bundle.ts +++ b/src/node/build/bundle.ts @@ -35,6 +35,7 @@ export async function bundle( const { rollupOptions } = options const resolveViteConfig = (ssr: boolean): ViteUserConfig => ({ + root, logLevel: 'warn', plugins: createVitePressPlugin(root, config, ssr, pageToHashMap), build: {