Vinext 1.0: Next.js Apps That Run on Vite
On September 28, 2026, Cloudflare shipped Vinext 1.0 — a Vite plugin that reimplements the Next.js API surface, so an existing Next.js application builds and runs without the Next.js compiler underneath it. The project moved out of experiment status into what its team describes as production-ready, with a published compatibility matrix and a migration path that starts with a single command.
The problem: an app bound to one platform
A Next.js application carries a long chain below the surface: the compiler, the caching layer, ISR behavior, and the way pages are generated at build time. That chain is written for one platform first, and every other platform builds a compatibility layer on top of it — a layer that trails one step behind each new release.
The result is familiar to any team that has tried to move: middleware, image optimization and revalidation all get re-tested from scratch, and the differences surface after deploy rather than before. An architectural decision quietly turns into a migration-cost decision.
Build time compounds it. A site that pre-renders thousands of pages pays that cost on every deploy, and the number grows with the content, not with the code.
What changed
Vinext replaces only the bottom layer: the bundler and dev server become Vite, while application code stays as it is. The coverage is wider than the word "plugin" suggests:
- App Router and Pages Router together, including hybrid apps
- React Server Components and Server Actions
- Route handlers, middleware and client-side navigation
- SSR, static generation and export mode
- ISR with background and on-demand revalidation
- APIs such as
next/link,next/imageandnext/navigation
The team runs the Next.js end-to-end test suite against Vinext nightly, and reports passing above 99% on the features customers actually asked for.
The more interesting architectural idea is cache warming. Instead of pre-rendering pages on the build machine, generation moves onto Cloudflare's network after deploy. The build gets lighter, and pages are built where they are served from.
A practical example
Migration starts with an inspection, before any edit:
npx vinext check
npx vinext initManual setup goes through package.json:
{
"scripts": {
"dev": "vinext dev",
"build": "vinext build",
"start": "vinext start"
}
}A fresh project:
npm create vinext-app@latest my-appAnd deploying to Cloudflare with the cache warmed:
npx @vinext/cloudflare deploy --warm-cacheThe ordering matters: vinext check before vinext init. The check reads the project and reports where the gaps are, which turns the migration decision into a written report instead of trial and error.
Real-world caveats
- The
use cachedirective and Cache Components are only partially supported, and the team ranks them below the fundamentals. Anything built on Partial Prerendering should wait. - Build-time image and font optimization is incomplete.
- Native modules inside the App Router can fail in development.
- Platform-specific routing configuration is ignored.
- Reimplementing an API surface is not copying it. Any undocumented behavior your code leans on needs an actual test rather than an assumption — which is precisely what the published compatibility matrix is for.
The working rule: measure the migration on a separate branch, with a full build and a timing comparison before and after, then decide on numbers. For the other half of the loading-time equation, the breakdown of Turbopack chunking covers how splitting strategy shapes what users wait for.
Takeaway
The value of Vinext 1.0 is not speed alone — it is decoupling. The same codebase becomes deployable to Cloudflare Workers, Netlify or AWS Lambda without a rewrite. That is negotiating leverage for a team before it is a technical feature, and the road to it starts with one check command and a throwaway branch.
Primary source: Cloudflare's Vinext 1.0 announcement.