Skip to content

ci: use nuxt-bundle-analyzer 0.2.0 - #139

Merged
atinux merged 2 commits into
mainfrom
ci/bundle-analyzer-0.2.0
Nov 13, 2026
Merged

atinux merged 2 commits into
mainfrom
ci/bundle-analyzer-0.2.0

Conversation

@atinux

@atinux atinux commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Written by an AI agent on behalf of @atinux, who asked for this change; he hasn't reviewed this text before it was posted.

Updates bundle-size.yml and bundle-size-comment.yml from nuxt-bundle-analyzer@0.1.6 to 0.2.0, and has bundle-size.yml render / and /about with --urls, so the comparison also shows what each page's HTML preloads, including the components its Markdown renders.

The analyze step, run locally on this branch with npx --yes nuxt-bundle-analyzer@0.2.0 --urls "/,/about" --no-serve (exit 0):

[nitro] ℹ Prerendering 2 routes
[nitro]   ├─ /about (180ms)
[nitro]   ├─ / (221ms)
[nitro] ℹ Prerendered 2 routes in 4.723 seconds
[nuxt-bundle-analyzer] ℹ Recorded 2 prerendered pages.
URL Files its HTML preloads HTML (gzip)
/ 25 9.70 kB
/about 14 5.91 kB

On bundle.nuxt.dev, which already runs 0.2.0, Pages now lists the 5 chunks the app's entry loads once (100.8 kB on #137) and each page's size on top of them (5.04 kB for [...slug].vue).

This pull request's own bundle comment comes from main's comment workflow (0.1.6); comments use 0.2.0 after merging.

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
content-wind Ready Ready Preview Nov 13, 2026 12:11pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Bundle size

Explore the comparison →

Client 164.6 kB $\color{green}\textsf{(-52 B, -0.0}\%\textsf{)}$ · Server 1.86 MB $\color{green}\textsf{(-456 B, -0.0}\%\textsf{)}$

Initial page load PR Δ
/:slug(.) 104.5 kB −52 B (−0.0%)
Largest changes in the client
Package or file Base PR Δ
node_modules/property-information 5.18 kB 5.15 kB −25 B (−0.5%)
node_modules/@nuxtjs/mdc 4.93 kB 4.92 kB −14 B (−0.3%)
node_modules/@nuxt/content 3.56 kB 3.56 kB −3 B (−0.1%)
node_modules/nuxt 18.8 kB 18.8 kB −3 B (−0.0%)
[unassigned] 9.11 kB 9.10 kB −2 B (−0.0%)
.nuxt/content/components.ts 323 B 322 B −1 B (−0.3%)
app/pages/[...slug].vue 156 B 155 B −1 B (−0.6%)
Largest changes in the server
Package or file Base PR Δ
[unassigned] 1.76 MB 1.76 MB −396 B (−0.0%)
node_modules/nitropack 10.0 kB 10.0 kB −16 B (−0.2%)
node_modules/h3 6.79 kB 6.78 kB −9 B (−0.1%)
node_modules/@nuxt/content 8.07 kB 8.06 kB −7 B (−0.1%)
node_modules/unstorage 4.25 kB 4.24 kB −5 B (−0.1%)
node_modules/@nuxt/nitro-server 4.55 kB 4.54 kB −4 B (−0.1%)
node_modules/ofetch 2.41 kB 2.41 kB −3 B (−0.1%)
node_modules/ohash 1.50 kB 1.50 kB −3 B (−0.2%)
node_modules/node-mock-http 1.92 kB 1.91 kB −2 B (−0.1%)
node_modules/radix3 1.39 kB 1.39 kB −2 B (−0.1%)

And 12 more packages or files.

Brotli sizes. Initial page load counts the JavaScript and CSS a route loads before it renders. Measured by nuxt-bundle-analyzer for b66267f.

@atinux
atinux merged commit e49f259 into main Nov 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant