Skip to content

Commit

Permalink
fix: respect root during build
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 1, 2021
1 parent c08ceab commit 055e3fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node/build/bundle.ts
Expand Up @@ -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: {
Expand Down

0 comments on commit 055e3fd

Please sign in to comment.