How to make sure source maps were actually uploaded?
See original GitHub issueHello! I’ve added sentry-webpack-plugin to the production build config and the build goes fine without errors. However, on the sentry.io dashboard, I still see there is no checkmark against the “Upload sourcemaps” item. The error traces are minified as well.
How can I check the plugin works correctly?
Maybe I missed something – do I have to configure webpack to create sourcemaps (i.e. with the devtool option)? There is nothing like that in the description or in the examples, so I assume this plugin should take care of everything. Is that so?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Troubleshooting Source Maps for JavaScript
For uploaded source maps to be located and applied, the release needs to be created by the CLI or API (and the correct...
Read more >New Features: Source Map Upload and More - Honeybadger.io
Honeybadger now supports uploaded source maps via a new API. We've also added a UI to view source maps for each project, released...
Read more >How to set up source maps to help debug production JavaScript
The next step to getting source maps working is to ensure the sourceMappingURL directive is declared correctly. This is a single line at...
Read more >Map the processed code to your original source code, for ...
To make sure that source maps are enabled: To open DevTools, in Microsoft Edge, right-click a webpage, and then select Inspect.
Read more >Use a source map — Firefox Source Docs documentation
sources are often combined and minified to make delivering them from the server more ... sourceMappingURL=http://example.com/path/to/your/sourcemap.map ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Turns out it was because i was running webpack dev server. When i ran production build it worked. But i needed to add sourcemaps option to webpack config and point to the build directory instead of src
And as for verifying whether your files have been uploaded, go to “Artifacts” page in your Sentry’s project page.
eg. https://sentry.io/kamil-ogorek/testing-project/releases/some-release-name/artifacts/
(with your own account, project and release of course 😃)