Skip to content

Commit 681247c

Browse files
RulaKhaledchargome
andauthored
Update packages/nextjs/src/config/withSentryConfig.ts
Co-authored-by: Charly Gomez <charly.gomez@sentry.io>
1 parent b96fd6f commit 681247c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/nextjs/src/config/withSentryConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function getFinalConfigObject(
8282
// 2. generate: Environment variable inlining and prerendering (We don't instrument this phase, we inline in the compile phase)
8383
//
8484
// We assume a single “full” build and reruns Webpack instrumentation in both phases.
85-
// During the generate step it collides with Next.js’s new inliner (they do some bad replacements in the inliner)
85+
// During the generate step it collides with Next.js’s inliner
8686
// producing malformed JS and build failures.
8787
// We skip Sentry processing during generate to avoid this issue.
8888
return incomingUserNextConfigObject;

0 commit comments

Comments
 (0)