Skip to main content
Source maps let Squasher translate minified production stack traces back to original source files and line numbers.

When to upload

Upload source maps for the same release you attach to your SDK events.

Basic upload flow

  1. Build your application.
  2. Collect the generated .map files.
  3. Upload them during CI before or alongside deployment.

Example

Best practices

  • Keep the release value consistent between your SDK config and your upload step.
  • Upload source maps for every production deployment.
  • Do not expose private source map files publicly if your build pipeline can keep them internal.

Agent handoff