Skip to content

Commit ecfec19

Browse files
benjickLms24
andauthored
ref(nextjs): Fix typo in source maps deletion warning (#14766)
Co-authored-by: Lukas Stracke <[email protected]>
1 parent 4096ab8 commit ecfec19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/config/webpack.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export function constructWebpackConfigFunction(
340340
if (!isServer && !userSentryOptions.sourcemaps?.deleteSourcemapsAfterUpload) {
341341
// eslint-disable-next-line no-console
342342
console.warn(
343-
"[@sentry/nextjs] The Sentry SDK has enabled source map generation for your Next.js app. If you don't want to serve Source Maps to your users, either set the `deleteSourceMapsAfterUpload` option to true, or manually delete the source maps after the build. In future Sentry SDK versions `deleteSourceMapsAfterUpload` will default to `true`. If you do not want to generate and upload sourcemaps, set the `sourcemaps.disable` option in `withSentryConfig()`.",
343+
"[@sentry/nextjs] The Sentry SDK has enabled source map generation for your Next.js app. If you don't want to serve Source Maps to your users, either set the `sourcemaps.deleteSourcemapsAfterUpload` option to true, or manually delete the source maps after the build. In future Sentry SDK versions `sourcemaps.deleteSourcemapsAfterUpload` will default to `true`. If you do not want to generate and upload sourcemaps, set the `sourcemaps.disable` option in `withSentryConfig()`.",
344344
);
345345
}
346346

0 commit comments

Comments
 (0)