Cloudflare Rewrites Next.js in One Week With AI -- What It Means for Commercial Open Source

Published on 05.03.2026

bash — 80×24$pnpm dev▶ ready on localhost:3000$git commit -m "feat: og images"$npx tsc --noEmit✓ 0 errorsCODING

Cloudflare Replaces Turbopack With Vite, Rebuilds Next.js in a Week

TLDR: A single Cloudflare engineer used AI coding agents and roughly $1,100 in tokens to rewrite the core of Next.js, swapping Vercel's proprietary Turbopack build system for the industry-standard Vite. The resulting project, called "vinext," produces standardized build output deployable on any cloud provider, not just Vercel.

The Pragmatic Engineer - Cloudflare rewrites Next.js


The "AI Slop" Problem: Vinext Is Not Production-Ready

TLDR: Despite Cloudflare's triumphant announcement, vinext is one week old, experimental, and has not been battle-tested at scale. Vercel's CEO rightly pointed out security vulnerabilities, and the "customers running it in production" claim turns out to mean a single beta site with no meaningful traffic.

The Pragmatic Engineer - Cloudflare rewrites Next.js


AI as a New Attack Vector on Commercial Open Source Business Models

TLDR: AI agents make it trivial to fork, rewrite, or piggyback off commercial open source projects, fundamentally undermining the moat that made "open core" a viable business strategy. Companies like Vercel that relied on code complexity as a barrier now face a world where that barrier barely exists.

The Pragmatic Engineer - Cloudflare rewrites Next.js


AI-World Reality: Tests as the Baseline, Migration Agents as the Future

TLDR: Comprehensive test suites are now the minimum requirement for productive AI agent usage, and vendors are deploying "migration agents" -- AI-powered tools that automate switching customers from competitor platforms.

The Pragmatic Engineer - Cloudflare rewrites Next.js