Commit 0610908e by Adeel

README: Fixes sourceComments meanings.

parent d293b634
# node-sass # node-sass
![logo](https://rawgit.com/sass/node-sass/master/media/logo.svg) ![logo](https://rawgit.com/sass/node-sass/master/media/logo.svg)
...@@ -81,9 +81,10 @@ The API for using node-sass has changed, so that now there is only one variable ...@@ -81,9 +81,10 @@ The API for using node-sass has changed, so that now there is only one variable
`precision` is a `Number` that will be used to determine how many digits after the decimal will be allowed. For instance, if you had a decimal number of `1.23456789` and a precision of `5`, the result will be `1.23457` in the final CSS. `precision` is a `Number` that will be used to determine how many digits after the decimal will be allowed. For instance, if you had a decimal number of `1.23456789` and a precision of `5`, the result will be `1.23457` in the final CSS.
#### sourceComments #### sourceComments
`sourceComments` is a `String` to determine what debug information is included in the output file. Its value should be one of `'none', 'normal', 'map'`. The default is `'none'`. `sourceComments` is a `Boolean` flag to determine what debug information is included in the output file.
The `map` option will create the source map file in your CSS destination.
[Important: `souceComments` is only supported when using the `file` option, and does nothing when using `data` flag.] #### omitSourceMapUrl
`omitSourceMapUrl` is a `Boolean` flag to determine whether to include `sourceMappingURL` comment in the output file.
#### sourceMap #### sourceMap
If your `sourceComments` option is set to `map`, `sourceMap` allows setting a new path context for the referenced Sass files. If your `sourceComments` option is set to `map`, `sourceMap` allows setting a new path context for the referenced Sass files.
...@@ -235,10 +236,11 @@ Output will be saved with the same name as input SASS file into the current work ...@@ -235,10 +236,11 @@ Output will be saved with the same name as input SASS file into the current work
**Options:** **Options:**
--output-style CSS output style (nested|expanded|compact|compressed) [default: "nested"] --output-style CSS output style (nested|expanded|compact|compressed) [default: "nested"]
--source-comments Include debug info in output (none|normal|map) [default: "none"] --source-comments Include debug info in output [default: false]
--include-path Path to look for @import-ed files [default: cwd] --omit-source-map-url Omit source map URL comment from output [default: false]
--help, -h Print usage info --include-path Path to look for @import-ed files [default: cwd]
--help, -h Print usage info
## Post-install Build ## Post-install Build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment