-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Closed as not planned
Copy link
Labels
Milestone
Description
Description
sentry-javascript/packages/nextjs/src/config/withSentryConfig.ts
Lines 23 to 25 in f4c5900
// TODO(v9): Always return an async function here to allow us to do async things like grabbing a deterministic build ID. | |
export function withSentryConfig<C>(nextConfig?: C, sentryBuildOptions: SentryBuildOptions = {}): C { | |
const castNextConfig = (nextConfig as NextConfig) || {}; |
Looking forward, we need the returned function to be async to be able to grab a build-ID from the Next.js user option, so that we can always have a good release value when Turbopack prod builds ship.