Integrate your project's source maps with Sentry using these steps:
Source maps can be generated by transpilers, minifiers, or bundlers you might be using in your project. We provide instructions to configure common tools that output source maps here.
Source maps can be either:
- Uploaded directly to Sentry (strongly recommended)
- Served publicly over HTTP alongside your deployed code
If you use Webpack in your project, we recommend generating and uploading your source maps by way of
sentry-webpack-plugin. If you use a different tool to generate source maps, you can use
sentry-cli to upload them to Sentry.
Learn more about how to upload source maps here.
If you host your source maps alongside your deployed code, make sure your code files end with a `
//# sourceMappingURL comment pointing to the corresponding map.
Learn more about publicly hosting source maps here.