Repository navigation
move manual setup source maps options - #12783
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
chargome
approved these changes
Feb 25, 2025
| `@sentry/nextjs` will generate and upload source maps automatically, in order to enable errors to have readable stack traces. | ||
|
|
||
| To upload source maps, the `@sentry/nextjs` SDK uses the [Sentry webpack plugin](https://www.npmjs.com/package/@sentry/webpack-plugin) under the hood. See the [Manual Configuration](../manual-setup/#configure-source-maps) page and the Sentry [webpack plugin documentation](https://www.npmjs.com/package/@sentry/webpack-plugin) for more details. If you are using Vercel, then you can also use the [Vercel integration](/organization/integrations/deployment/vercel/) to upload source maps during deployments automatically. | ||
| To upload source maps, the `@sentry/nextjs` SDK uses the [Sentry webpack plugin](https://www.npmjs.com/package/@sentry/webpack-plugin) under the hood. See the [Build Options](../configuration/build/#source-maps-options) page and the Sentry [webpack plugin documentation](https://www.npmjs.com/package/@sentry/webpack-plugin) for more details. If you are using Vercel, then you can also use the [Vercel integration](/organization/integrations/deployment/vercel/) to upload source maps during deployments automatically. |
Member
There was a problem hiding this comment.
l: I feel there are too many links here, let's just link once to the webpack documentation (after the build page)!
Bundle ReportChanges will increase total bundle size by 14.86kB (0.07%) ⬆️. This is within the configured threshold ✅ Detailed changes
ℹ️ *Bundle size includes cached data from a previous commit Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
App Routes Affected:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
In the process of reworking the Next.js Manual Setup page, we need to move content to other places.
This PR focuses on the "Source Map" related information from the setup page.
What I did:
hideSourceMapsoptions was removed from the SDKIS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
EXTRA RESOURCES