aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Maughan Tegnér <christian.tegner@gmail.com>2017-03-16 20:08:38 +0100
committerAlex Lam S.L <alexlamsl@gmail.com>2017-03-17 03:08:38 +0800
commitb7c112eefe4b7840cefd85287e3f858784c56a59 (patch)
treef8a94227e11526579f78165440a4c2b525177e94
parentb2b8a0d386ac5e38e17212c734914cde1f3eee83 (diff)
downloadtracifyjs-b7c112eefe4b7840cefd85287e3f858784c56a59.tar.gz
tracifyjs-b7c112eefe4b7840cefd85287e3f858784c56a59.zip
Add `--in-source-map inline` documentation (#1611)
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index a33e0b32..396f9a94 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,8 @@ The available options are:
--source-map-inline Write base64-encoded source map to the end of js output.
--in-source-map Input source map, useful if you're compressing
JS that was generated from some other original
- code.
+ code. Specify "inline" if the source map is included
+ inline with the sources.
--screw-ie8 Use this flag if you don't wish to support
Internet Explorer 6/7/8.
By default UglifyJS will not try to be IE-proof.
@@ -200,9 +201,10 @@ compressed JS by mapping every token in the compiled JS to its original
location.
To use this feature you need to pass `--in-source-map
-/path/to/input/source.map`. Normally the input source map should also point
-to the file containing the generated JS, so if that's correct you can omit
-input files from the command line.
+/path/to/input/source.map` or `--in-source-map inline` if the source map is
+included inline with the sources. Normally the input source map should also
+point to the file containing the generated JS, so if that's correct you can
+omit input files from the command line.
## Mangler options