feat: preserve user log level (#2310)

pull/2314/head
Joaquín Sánchez 2 years ago committed by GitHub
parent 0073a7d8a2
commit a647cd3843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,7 @@ export async function buildMPAClient(
root: config.srcDir,
cacheDir: config.cacheDir,
base: config.site.base,
logLevel: 'warn',
logLevel: config.vite?.logLevel ?? 'warn',
build: {
emptyOutDir: false,
outDir: config.outDir,

@ -57,7 +57,7 @@ export async function bundle(
root: config.srcDir,
cacheDir: config.cacheDir,
base: config.site.base,
logLevel: 'warn',
logLevel: config.vite?.logLevel ?? 'warn',
plugins: await createVitePressPlugin(
config,
ssr,

Loading…
Cancel
Save