Skip to content

Commit d88422c

Browse files
authored
Update UglifyJS docs for v3.x (#1006)
1 parent 1fbfc9e commit d88422c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/sourcemaps.rst

+5-7
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ that maps the minified code back to the original source:
2525

2626
::
2727

28-
node_modules/uglify-js/bin/uglifyjs {input} \
29-
--source-map-root={relroot}/ \
30-
--source-map-url={name}.js.map \
31-
--source-map={relpath}/{name}.js.map \
32-
--source-map-include-sources \
33-
-o {output}
28+
uglifyjs app.js \
29+
-o app.min.js.map \
30+
--source-map url=app.min.js.map,includeSources
3431

3532

3633
Webpack
@@ -56,6 +53,7 @@ Webpack can be configured to output source maps by editing webpack.config.js.
5653
}
5754
};
5855

56+
5957
SystemJS
6058
~~~~~~~~
6159

@@ -322,7 +320,7 @@ You must specify the active release in your Raven.js client configuration:
322320
Raven.config('your-dsn', {
323321
release: '1.2.3-beta'
324322
}).install();
325-
323+
326324
Sentry needs this to associate ingested event data with the release and artifacts you've created via the API.
327325

328326
Verify your source maps are built correctly

0 commit comments

Comments
 (0)