-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add source maps upload instructions for CRA #7628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some small edits but otherwise LGTM! Thanks for adding these docs!
### 3. Inject Debug IDs Into Build Artifacts | ||
|
||
Debug IDs are used to match the stack frame of an event with its corresponding minified source and source map file. | ||
Visit [What are Artifact Bundles](/platforms/javascript/sourcemaps/troubleshooting_js/artifact-bundles/) if you want to learn more about Artifact Bundles and Debug IDs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Visit [What are Artifact Bundles](/platforms/javascript/sourcemaps/troubleshooting_js/artifact-bundles/) if you want to learn more about Artifact Bundles and Debug IDs. | |
Visit [What are Artifact Bundles](/platforms/javascript/sourcemaps/troubleshooting_js/artifact-bundles/) if you want to learn more about artifact bundles and debug IDs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Artifact Bundles" and "Debug IDs" are terms we invented which is why we capitalize them. If we lowercase them here we need to do this over the entire docs.
2. Injected Debug IDs into the artifacts you've just generated | ||
3. Uploaded those artifacts to Sentry with our upload command | ||
|
||
The last step is deploying a new version of your application using the generated artifacts you created in step one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last step is deploying a new version of your application using the generated artifacts you created in step one. | |
The last step is deploying a new version of your application using the generated artifacts you created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is critical
Co-authored-by: vivianyentran <20403606+vivianyentran@users.noreply.github.com>
should we add this here generically or create something specific for react? i'm just thinking it might be good to get people looking at next or browser and missing
Co-authored-by: vivianyentran <20403606+vivianyentran@users.noreply.github.com>
Thanks @vivianyentran for the review! |
Co-authored-by: vivianyentran <20403606+vivianyentran@users.noreply.github.com> Co-authored-by: Steven Eubank <47563310+smeubank@users.noreply.github.com> Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
Resolves #7106
Adds instructions on how to get source maps working with Create React App.