File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ that maps the minified code back to the original source:
29
29
node_modules/uglify-js/bin/uglifyjs {input} \
30
30
--source-map-root={relroot}/ \
31
31
--source-map-url={name}.map.js \
32
- --source-map={relpath}/{name}.map.js -o {output}
32
+ --source-map={relpath}/{name}.map.js \
33
+ --source-map-include-sources \
34
+ -o {output}
33
35
34
36
35
37
Webpack
@@ -55,6 +57,14 @@ Webpack can be configured to output source maps by editing webpack.config.js.
55
57
}
56
58
};
57
59
60
+ .. admonition :: Inline Sources
61
+
62
+ The instructions above inline your original, un-transformed source files into the generated source map file. Sentry
63
+ requires both source map(s) **and ** your original source files in order to perform reverse transformations. If you
64
+ choose NOT to inline your source files, you must make those source files available to Sentry in *addition * to your
65
+ source maps (see below).
66
+
67
+
58
68
Making Source Maps Available to Sentry
59
69
--------------------------------------
60
70
You can’t perform that action at this time.
0 commit comments