Fix unquoted map + normal sourceComments

dev
Tomas 2014-02-18 17:49:51 -03:00
parent cb279fb9e2
commit 8481406b5d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ Pass in your own callback to be called upon a sass error from node-sass. The cal
## Source Maps
gulp-sass now generates *inline* source maps if you pass `sourceComments: map` as an option. Note that gulp-sass will *only* generate inline source maps, so passing `sourceMap: filepath` to node-sass won't actually do anything. Enjoy your source maps!
gulp-sass now generates *inline* source maps if you pass `sourceComments: 'map'` as an option. It can also accept `sourceComments: 'normal'` as option, to generate the per-rule comment to point to the file where it came from. Note that gulp-sass won't actually do anything when passing `sourceMap: filepath`. Enjoy your source maps!
NB: For those wondering, inline source maps are stuck onto the end of the css file instead of being in a separate map file. In this case, the original source contents are included as well, so you don't have to make sure your scss files are servable.