mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#802
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/732
Author: @raed04
Created: 4/1/2026
Status: 🔄 Open
Base:
main← Head:feat/prerender-usability-565📝 Commits (1)
e7a7c9afeat(prerender): usability enhancements for pre-rendering (#565)📊 Changes
4 files changed (+760 additions, -41 deletions)
View changed files
📝
packages/vinext/src/build/report.ts(+120 -22)📝
packages/vinext/src/build/run-prerender.ts(+209 -17)📝
packages/vinext/src/index.ts(+14 -0)📝
tests/build-report.test.ts(+417 -2)📄 Description
Summary
Closes #565 — Pre-rendering usability enhancements.
headers,cookies,draftModefromnext/headers;connectionfromnext/server;unstable_noStore/noStorefromnext/cache) via static analysis — routes importing these are classified asssrinstead ofunknown[prerendered],[prerendered: N paths],[skipped], or[error]annotations; prerender summary section addedrunPrerender,PrerenderProgress,compileRouteGlob,matchRouteGloband types exported from package entry pointincludeRoutes/excludeRoutesglob patterns (*and**) with compiled regex cachingonProgressoption for programmatic tracking alongside built-in TTY progress barFiles changed
packages/vinext/src/build/report.tsSYMBOLSexportpackages/vinext/src/build/run-prerender.tspackages/vinext/src/index.tstests/build-report.test.tsTest plan
classifyAppRoutebehavioral change documented: routes importing dynamic APIs now returnssrinstead ofunknown(more accurate, errs toward restrictive)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.