node-sass
Advanced tools
Comparing version 4.13.0 to 4.13.1
@@ -0,1 +1,5 @@ | ||
## v4.13.1 | ||
https://github.com/sass/node-sass/releases/tag/v4.13.1 | ||
## v4.13.0 | ||
@@ -2,0 +6,0 @@ |
@@ -303,5 +303,7 @@ /*! | ||
css: result.css, | ||
map: result.map, | ||
stats: stats | ||
}; | ||
if (result.map) { | ||
payload.map = result.map; | ||
} | ||
@@ -308,0 +310,0 @@ if (cb) { |
{ | ||
"name": "node-sass", | ||
"version": "4.13.0", | ||
"version": "4.13.1", | ||
"libsass": "3.5.4", | ||
@@ -5,0 +5,0 @@ "description": "Wrapper around libsass", |
@@ -314,6 +314,8 @@ # node-sass | ||
**Special:** Setting the `sourceMap` option requires also setting the `outFile` option | ||
Enables source map generation during `render` and `renderSync`. | ||
Enables the outputting of a source map during `render` and `renderSync`. When `sourceMap === true`, the value of `outFile` is used as the target output location for the source map. When `typeof sourceMap === "string"`, the value of `sourceMap` will be used as the writing location for the file. | ||
When `sourceMap === true`, the value of `outFile` is used as the target output location for the source map with the suffix `.map` appended. If no `outFile` is set, `sourceMap` parameter is ignored. | ||
When `typeof sourceMap === "string"`, the value of `sourceMap` will be used as the writing location for the file. | ||
### sourceMapContents | ||
@@ -426,3 +428,3 @@ | ||
} | ||
})); | ||
}); | ||
@@ -429,0 +431,0 @@ console.log(result.css); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1850084
5866
631