Skip to content

Commit fbeccf5

Browse files
author
Luca Forstner
committed
fix(nextjs): Don't show turbopack warning for newer Next.js canaries
1 parent d34e67e commit fbeccf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/nextjs/src/config/withSentryConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ function getFinalConfigObject(
178178
patch !== undefined &&
179179
(major > 15 ||
180180
(major === 15 && minor > 3) ||
181-
(major === 15 && minor === 3 && patch >= 0 && prerelease === undefined));
181+
(major === 15 && minor === 3 && patch === 0 && prerelease === undefined) ||
182+
(major === 15 && minor === 3 && patch > 0));
182183
const isSupportedCanary =
183184
major !== undefined &&
184185
minor !== undefined &&

0 commit comments

Comments
 (0)