diff --git a/packages/vite/src/server.ts b/packages/vite/src/server.ts index 03898ca7e3..2d7c9d0d3b 100644 --- a/packages/vite/src/server.ts +++ b/packages/vite/src/server.ts @@ -73,6 +73,8 @@ export async function buildServer (ctx: ViteBuildContext) { }, cacheDir: resolve(ctx.nuxt.options.rootDir, 'node_modules/.cache/vite', 'server'), build: { + // we'll display this in nitro build output + reportCompressedSize: false, sourcemap: ctx.nuxt.options.sourcemap.server ? ctx.config.build?.sourcemap ?? true : false, outDir: resolve(ctx.nuxt.options.buildDir, 'dist/server'), ssr: true,