Repository navigation
Conversation
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 8, 2026 08:33
18602f5 to
38d07fe
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 8, 2026 08:35
c7c87ac to
0b40141
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 8, 2026 08:45
38d07fe to
5ab9fa8
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 8, 2026 08:47
0b40141 to
7282bdf
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 8, 2026 08:48
5ab9fa8 to
aba7cd5
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 8, 2026 08:50
7282bdf to
2951767
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 8, 2026 08:57
aba7cd5 to
71dc0ba
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 8, 2026 08:58
2951767 to
b3afdc7
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 8, 2026 09:14
71dc0ba to
2c6edf6
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
3 times, most recently
from
November 8, 2026 09:23
ba511a6 to
0e69230
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 9, 2026 22:38
2c6edf6 to
893a812
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 9, 2026 22:40
0e69230 to
3738578
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 10, 2026 11:36
893a812 to
eb95914
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 10, 2026 11:38
3738578 to
128bc02
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 10, 2026 11:42
eb95914 to
a696a61
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 10, 2026 11:44
128bc02 to
8744da0
Compare
atinux
force-pushed
the
feat/client-bundle-summary
branch
from
November 10, 2026 11:48
a696a61 to
b474ee8
Compare
atinux
force-pushed
the
feat/build-route-rules
branch
from
November 10, 2026 11:50
2f6be04 to
830cd25
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1663 (client bundle summary), which is stacked on #1662 (quieter server build). Review those first; this PR only adds the last commit.
At the end of
nuxt buildthere is no easy way to see which routes are prerendered, cached, client-only, redirected or proxied. Rules come fromnuxt.config, from pages (defineRouteRules) and from modules, so the config file alone doesn't tell you.What changed
nuxt buildprints a Route rules table (route, rules) after the client bundle summary.nitro:inithook) after the build. It is the only place that has page rules and module rules:nuxt.options.routeRuleslacks page rules in production builds, andkit.tryUseNitro()returns nothing once the build has finished.prerender,ssr: false,isr 600s,swr 3600s,cache: false,redirect → /x (307),proxy → url,cors,headers: <names>andmiddleware. Unknown keys are listed as they are.cache: { swr, maxAge }forswr.status, where Nitro 2 usesstatusCode.cors: {}without expanding it into headers./__nuxt_error, the/**ssr: truedefault, the cache headers underapp.buildAssetsDir, and the_payload.jsoncopies of cached routes. Nuxt renames unnamed page segments to/:_2; they are shown as/*again.+N more routes, like the chunk list in feat(build): summarise the client bundle at the end ofnuxt build#1663. Nothing is printed when the app has no rules of its own.Videos
Both apps use the same
nuxt.config, with 7 route rules andexperimental.inlineRouteRules, plusdefineRouteRules({ prerender: true })inpages/blog/[slug].vue. Before is #1663's head (2c6edf6), after is this branch. Recorded with asciinema in a 110×40 terminal and rendered with agg. Pauses are capped at 1.5s, so the clips run faster than the real builds.Nitro 2 (Nuxt 4.6.2, Nitro 2.13.5)
Nitro 3 (Nuxt 5.0.0-2610281032-c0c2b8f nightly, Nitro 3.0.260903-beta)
Both builds exit 0 and print the same table:
The repo playground has no route rules, and its build prints no table.
Tests
test/unit/utils/route-rules.spec.tschecks the table againstnitro.options.routeRulesdumped from real Nitro 2 and Nitro 3 builds. It also covers the row cap and the empty case. The full suite passes (env -u NO_COLOR TERM=xterm-256color pnpm exec vitest run packages: 155 files, 2187 tests), as do eslint andtsc --noEmit.Details and open questions
--log-level) for apps with many rules.ELI5
After building, Nuxt now lists every page pattern that has special handling, such as "built ahead of time", "cached for an hour" or "sent to another URL". You can check it matches what you meant without reading through config files and pages.