fix: respect root during build

pull/198/head
Evan You 4 years ago
parent c08ceab267
commit 055e3fd043

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

Loading…
Cancel
Save