Skip to content

Commit

Permalink
perf(vite): don't print server compressed size after vite build (#23359)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 28, 2023
1 parent a06d524 commit 876fa7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vite/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 876fa7f

Please sign in to comment.