-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
javascriptPull requests that update javascript codePull requests that update javascript code
Description
Cloudflare released vinext, a ground-up reimplementation of the Next.js API as a Vite plugin targeting Cloudflare Workers. It replaces webpack with Vite and runs everything in the workerd runtime.
We're investigating what it would take to support it.
Initial assessment
- vinext supports
instrumentation.tswith the sameregister()+onRequestError()hooks our Next.js SDK uses @sentry/cloudflarealready has first-class Workers support@sentry/vite-pluginshould handle source map upload- Our webpack/turbopack-based auto-instrumentation (wrapping loaders, route manifest, value injection) won't transfer — needs Vite equivalents
- Client-side routing instrumentation likely needs adaptation
- Server-side context propagation between vinext's separate RSC/SSR environments needs investigation
Status
Vinext is still experimental. We'll start with low-cost validation to see how far existing SDKs get us.
Please upvote this issue if you're looking for a solution here!
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
javascriptPull requests that update javascript codePull requests that update javascript code