mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
4a81f9ff6b
App Router examples were missing react-server-dom-webpack as an explicit dependency. With pnpm's strict module resolution, this caused the Vite dev server to fail resolving react-server-dom-webpack/client.browser, breaking client-side hydration — "use client" components rendered as static HTML with no interactivity. The @vitejs/plugin-rsc correctly adds react-server-dom-webpack to optimizeDeps.include, but the package must be resolvable from the project root. Without it in package.json, pnpm cannot link it.
Performance Benchmarks
A dashboard for viewing vinext performance benchmarks, built with the App Router on Cloudflare Workers.
Compares build times and metrics across Next.js 16 (Turbopack), vinext (Rollup), and vinext (Rolldown) on every merge to main.
Uses a D1 database for benchmark storage and Tailwind CSS for styling.
Running Locally
- Install dependencies:
pnpm install
- Start the dev server:
pnpm dev
- Build for production:
pnpm build
- Preview the production build:
pnpm preview