---
title: "Source Maps"
url: https://docs.sentry.io/platforms/javascript/legacy-sdk/sourcemaps/
---

# Source Maps | Sentry for JavaScript

##### Deprecation Warning

A new JavaScript SDK has superseded this deprecated version. Sentry preserves this documentation for customers using the old client. We recommend using the [updated JavaScript SDK](https://docs.sentry.io/platforms/javascript.md) for your projects.

Sentry supports un-minifying JavaScript via [Source Maps](https://blog.sentry.io/2015/10/29/debuggable-javascript-with-source-maps/). This lets you view source code context obtained from stack traces in their original untransformed form, which is particularly useful for debugging minified code (e.g. UglifyJS), or transpiled code from a higher-level language (e.g. TypeScript, ES6).

Most of the process is the same whether you're using this SDK or the [new unified JavaScript Browser SDK](https://docs.sentry.io/platforms/javascript.md), so the main docs for dealing with source maps can be found [there](https://docs.sentry.io/platforms/javascript/sourcemaps.md). The one difference is how you specify the release in your SDK configuration.

## [Specify the release in Raven.js](https://docs.sentry.io/platforms/javascript/legacy-sdk/sourcemaps.md#specify-the-release-in-ravenjs)

If you are uploading source map artifacts yourself, you must specify the release in your Raven.js client configuration. Sentry will use the release name to associate digested event data with the files you’ve uploaded via the [releases API](https://docs.sentry.io/api/releases.md), [sentry-cli](https://docs.sentry.io/cli.md) or [sentry-webpack-plugin](https://github.com/getsentry/sentry-webpack-plugin). This step is optional if you are hosting source maps on the remote server, but still recommended.

```javascript
Raven.config("your-dsn", {
  release: "my-project-name@2.3.12",
}).install();
```

## [Next Steps](https://docs.sentry.io/platforms/javascript/legacy-sdk/sourcemaps.md#next-steps)

Now that you've specified the release in your SDK config, head on over to [our main source maps docs](https://docs.sentry.io/platforms/javascript/sourcemaps.md) to learn how to [create your source maps](https://docs.sentry.io/platforms/javascript/sourcemaps.md) and [make them available to Sentry](https://docs.sentry.io/platforms/javascript/sourcemaps.md). There you'll also find a [troubleshooting guide](https://docs.sentry.io/platforms/javascript/sourcemaps.md).
