Skip to content

Commit b1d393e

Browse files
Lms24benjick
andauthored
ref(v8/nextjs): Fix typo in source maps deletion warning (#14776)
backport to `v8` of #14766 --------- Co-authored-by: Max Malm <[email protected]>
1 parent 37fbd75 commit b1d393e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212

13-
Work in this release was contributed by @aloisklink. Thank you for your contribution!
13+
Work in this release was contributed by @aloisklink and @benjick. Thank you for your contributions!
1414

1515
## 8.46.0
1616

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)