Skip to content

Commit 291e7aa

Browse files
docs: Add note regarding source-map-support package. (#1509)
* docs: Add note regarding source-map-support package. * wordsmithing * wordsmithing * Update src/collections/_documentation/platforms/node/sourcemaps.md Co-authored-by: Katie Byers <[email protected]>
1 parent 5c845b7 commit 291e7aa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/collections/_documentation/platforms/node/sourcemaps.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ module.exports = {
3737
};
3838
```
3939

40+
{% capture __alert_content -%}
41+
If you want to rely on Sentry's source map resolution, make sure that your code is not using the [source-map-support](https://www.npmjs.com/package/source-map-support) package, as it overwrites the captured stack trace in a way that makes it impossible for our processors to correctly parse it.
42+
{%- endcapture -%}
43+
{%- include components/alert.html
44+
title="source-map-support"
45+
content=__alert_content
46+
level="warning"
47+
%}
48+
4049
## Making Source Maps Available to Sentry
4150

4251
Source maps for Node.js projects should be **uploaded directly** to Sentry.

0 commit comments

Comments
 (0)