Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { debug } from '@sentry/core';
import * as chalk from 'chalk';
import type { RouteManifest } from '../manifest/types';
import type { NextConfigObject, TurbopackMatcherWithRule, TurbopackOptions } from '../types';
import { generateValueInjectionRules } from './generateValueInjectionRules';
Expand Down Expand Up @@ -57,9 +56,7 @@ export function safelyAddTurbopackRule(
// If the rule already exists, we don't want to mess with it.
if (existingRules[matcher]) {
debug.log(
`${chalk.cyan(
'info',
)} - Turbopack rule already exists for ${matcher}. Please remove it from your Next.js config in order for Sentry to work properly.`,
`[@sentry/nextjs] - Turbopack rule already exists for ${matcher}. Please remove it from your Next.js config in order for Sentry to work properly.`,
);
return existingRules;
}
Expand Down
Loading