Raygun supports private JavaScript Source Maps

| 1 min. (151 words)

We recently released an update allowing you to directly upload your minified, source and mapping JavaScript files. This is to allow for the use of source mapping when you do not wish to make your JavaScript files publicly accessible.

You can get started with private source maps by accessing the JS Source Center in an application’s settings submenu.

The page gives you the option to upload any Javascript source, minified or mapping files as well as the ability to label them with the URL the mapping process will retrieve them from.

After uploading, your JavaScript stack traces will be mapped in the same way as if your files were publicly accessible.

Your mapped stack-trace will look something like this:

For automatic uploads in build scripts, we offer an API endpoint you can post your files to. You can read about the API along with some examples in our documentation here: