Add --in-source-map inline documentation (#1611)
This commit is contained in:
committed by
Alex Lam S.L
parent
b2b8a0d386
commit
b7c112eefe
10
README.md
10
README.md
@@ -68,7 +68,8 @@ The available options are:
|
|||||||
--source-map-inline Write base64-encoded source map to the end of js output.
|
--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
|
--in-source-map Input source map, useful if you're compressing
|
||||||
JS that was generated from some other original
|
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
|
--screw-ie8 Use this flag if you don't wish to support
|
||||||
Internet Explorer 6/7/8.
|
Internet Explorer 6/7/8.
|
||||||
By default UglifyJS will not try to be IE-proof.
|
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.
|
location.
|
||||||
|
|
||||||
To use this feature you need to pass `--in-source-map
|
To use this feature you need to pass `--in-source-map
|
||||||
/path/to/input/source.map`. Normally the input source map should also point
|
/path/to/input/source.map` or `--in-source-map inline` if the source map is
|
||||||
to the file containing the generated JS, so if that's correct you can omit
|
included inline with the sources. Normally the input source map should also
|
||||||
input files from the command line.
|
point to the file containing the generated JS, so if that's correct you can
|
||||||
|
omit input files from the command line.
|
||||||
|
|
||||||
## Mangler options
|
## Mangler options
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user