Clarifies where `--source-map-inline-sources` output goes.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 11 Apr 2015 07:32:42 +0000 (08:32 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 11 Apr 2015 07:32:42 +0000 (08:32 +0100)
See https://github.com/jakubpawlowicz/clean-css/issues/397#issuecomment-90896687

README.md

index 1cc61dd..378c7e3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -65,7 +65,7 @@ cleancss [options] source-file, [source-file, ...]
 --rounding-precision [N]        Rounds to `N` decimal places. Defaults to 2. -1 disables rounding.
 -c, --compatibility [ie7|ie8]   Force compatibility mode (see Readme for advanced examples)
 --source-map                    Enables building input's source map
---source-map-inline-sources     Enables inlining sources inside source maps
+--source-map-inline-sources     Enables inlining sources inside source map's `sourcesContent` field
 -d, --debug                     Shows debug information (minification time & compression efficiency)
 ```
 
@@ -131,7 +131,7 @@ CleanCSS constructor accepts a hash as a parameter, i.e.,
 * `shorthandCompacting` - set to false to skip shorthand compacting (default is true unless sourceMap is set when it's false)
 * `sourceMap` - exposes source map under `sourceMap` property, e.g. `new CleanCSS().minify(source).sourceMap` (default is false)
   If input styles are a product of CSS preprocessor (LESS, SASS) an input source map can be passed as a string.
-* `sourceMapInlineSources` - set to true to inline sources inside a source map (default is false)
+* `sourceMapInlineSources` - set to true to inline sources inside a source map's `sourcesContent` field (defaults to false)
   It is also required to process inlined sources from input source maps.
 * `target` - path to a folder or an output file to which **rebase** all URLs