Skip to content

Commit f816a21

Browse files
authored
Fix uglify example command
uglify's `-o` should point to the minified output, not to the sourcemap
1 parent 32096cb commit f816a21

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/common/sourcemaps/uploading

1 file changed

+1
-1
lines changed

docs/platforms/javascript/common/sourcemaps/uploading/uglifyjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ First, configure UglifyJS to output source maps:
1717

1818
```
1919
uglifyjs app.js \
20-
-o app.min.js.map \
20+
-o app.min.js \
2121
--source-map url=app.min.js.map,includeSources
2222
```
2323

0 commit comments

Comments
 (0)