From 0eb1a17b6c83801bf9951f0b8d5a6b1160e39d26 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Sat, 11 Apr 2015 08:32:42 +0100 Subject: [PATCH] Clarifies where `--source-map-inline-sources` output goes. See https://github.com/jakubpawlowicz/clean-css/issues/397#issuecomment-90896687 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1cc61dd5..378c7e38 100644 --- 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 -- 2.34.1