Cloudflare has released Vinext 1.0, a tool that lets developers run existing Next.js applications on Vite, a faster build tool, instead of Next.js's own build system. Cloudflare says the framework now supports both the App Router and Pages Router, the two main ways Next.js apps organize their code, after early versions focused mostly on App Router. The company reports test compatibility with Next.js has passed 99% for most customer-requested features, excluding a caching feature called cache components.
Cloudflare says Vinext began in February as a week-long experiment using AI tools to rebuild Next.js's behavior on top of Vite. Over the following seven months, the company says feedback from its GitHub community exposed gaps where Vinext matched Next.js's function names but not its actual behavior, such as how cache entries and future requests are affected. Cloudflare says it responded by building a larger automated test suite that runs Next.js's own end-to-end tests against Vinext nightly to catch regressions.
Cloudflare says Vinext 1.0 supports React Server Components, Server Actions, API routes, middleware, and client-side navigation across both routers. The company says converting an existing Next.js project involves running two command-line steps, npx vinext check and npx vinext init, and that the framework can then be deployed to platforms including Cloudflare Workers, Netlify, and AWS Lambda.
Source: Next.js applications, powered by Vite: introducing Vinext 1.0 | Cloudflare Blog.