Join our Live Demo: "Advanced Error Monitoring & Debugging" on 5/28/2020 12:00PM PST. Register here.
July 22nd, 2019 • By Michal Zalecki
Rollbar (and often other error tracking software) supports source maps to display error stack traces that point to the erroneous lines in the source code instead of an optimized client-size bundle your users download.
The easiest, although not recommended, way to provide Rollbar with source maps is to make them available for download from your production server. Once Rollbar receives the error, it will schedule the download of the source map file.
A reliable and recommended way to make source maps available for Rollbar is to upload them pre-deploy. It's also the only way if you don't wish to share the source code of your app by exposing it via publicly-available source maps. In this article, we will create a required configuration and write a script for uploading source maps to Rollbar.
Read Full Article at: https://michalzalecki.com/upload-source-maps-to-rollbar/
TABLE OF CONTENTS