feat(build): expose vitepress site config to vite plugins (#1822)

pull/1825/head
Divyansh Singh 2 years ago committed by GitHub
parent fe52fa3420
commit 05430e45c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,7 +129,9 @@ export async function createVitePressPlugin(
searchForWorkspaceRoot(process.cwd())
]
}
}
},
// @ts-ignore
vitepress: siteConfig
})
return userViteConfig
? mergeConfig(userViteConfig, baseConfig)

Loading…
Cancel
Save