From 6e9f55378304c0e82ae06a82d157ab4549fb41c9 Mon Sep 17 00:00:00 2001 From: Q16solver Date: Sun, 18 Oct 2026 13:34:47 +1100 Subject: [PATCH] feat(analyze): serve the Vue SSR bundle stats Nuxt builds its Vue server renderer as a separate `ssr` Vite environment beside `nitro`, and its analyze plugin writes `ssr.html` for it beside `client.html` and `nitro.html` (nuxt/nuxt fix linked in the PR). The stats server now serves it at `/ssr` and links it from the index. Co-Authored-By: Claude Opus 5.5 --- packages/nuxt-cli/src/commands/analyze.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/nuxt-cli/src/commands/analyze.ts b/packages/nuxt-cli/src/commands/analyze.ts index 19e74887c..c8a384740 100644 --- a/packages/nuxt-cli/src/commands/analyze.ts +++ b/packages/nuxt-cli/src/commands/analyze.ts @@ -36,6 +36,9 @@ const indexHtml = `
  • Nitro server bundle stats
  • +
  • + Vue SSR bundle stats +
  • Client bundle stats
  • @@ -200,6 +203,7 @@ export default defineCommand({ const reports = new Map([ ['/client', await readReport('client.html')], ['/nitro', await readReport('nitro.html')], + ['/ssr', await readReport('ssr.html')], ]) logger.step('Starting stats server...')