Closed
Description
Vercel allows users to use the Vercel Edge runtime for individual Next.js API routes.
Example:
export const config = {
runtime: "experimental-edge",
};
export default (req) => new Response("Hello world!");
Our Next.js SDK breaks (i.e. crashes a route) when ran on this runtime. We should provide users with a way to opt out certain routes of being initialized with the Sentry SDK so that users can use the Edge runtime without their apps crashing.