feat: use Vite's logLevel
on SSR build (#3431)
Instead using `error` as default value, use the Vite's default `logLevel`: `info`
This commit is contained in:
parent
752a108808
commit
9ba2c7084a
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ async function ssrBuild(opts: StaticBuildOptions, internals: BuildInternals, inp
|
|||
const out = ssr ? opts.buildConfig.server : astroConfig.outDir;
|
||||
|
||||
const viteBuildConfig: ViteConfigWithSSR = {
|
||||
logLevel: 'error',
|
||||
// use default Vite's logLevel if not configured
|
||||
logLevel: opts.viteConfig.logLevel ?? 'info',
|
||||
mode: 'production',
|
||||
css: viteConfig.css,
|
||||
build: {
|
||||
|
|
Loading…
Reference in a new issue