@@ -257,7 +257,7 @@ Used to determine how many digits after the decimal will be allowed. For instanc
...
@@ -257,7 +257,7 @@ Used to determine how many digits after the decimal will be allowed. For instanc
Type: `Boolean`
Type: `Boolean`
Default: `false`
Default: `false`
`true` enables additional debugging information in the output file as CSS comments
`true` Enables the line number and file where a selector is defined to be emitted into the compiled CSS as a comment. Useful for debugging, especially when using imports and mixins.
### sourceMap
### sourceMap
Type: `Boolean | String | undefined`
Type: `Boolean | String | undefined`
...
@@ -351,7 +351,7 @@ var result = sass.renderSync({
...
@@ -351,7 +351,7 @@ var result = sass.renderSync({
data: 'body{background:blue; a{color:black;}}',
data: 'body{background:blue; a{color:black;}}',
outputStyle: 'compressed',
outputStyle: 'compressed',
outFile: '/to/my/output.css',
outFile: '/to/my/output.css',
sourceMap: true, // or an absolute or relative (to outFile) path
sourceMap: true, // or an absolute or relative (to outFile) path
importer: function(url, prev, done) {
importer: function(url, prev, done) {
// url is the path in import as is, which LibSass encountered.
// url is the path in import as is, which LibSass encountered.