Skip to content

Commit ecad4fa

Browse files
committed
Merge pull request #120 from paton/master
Update changelog and readme for storeCss arguments change
2 parents 9beac0a + f3ca1e7 commit ecad4fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Updated dependencies to the latest versions.
77
* Removed `options.parser` since Less is simplifying to just a `render` function.
88
* Using `options.render` for passing through all rendering options directly to the less rendering.
9+
* Changed `options.storeCss` arguments from `(pathname, css, next)` to `(pathname, css, req, next)`
910
* Added `postprocess.sourcemap` option for modifying the sourcemap.
1011
* Added `storeSourcemap` option for manipulating the sourcemap storage.
1112
* Removed pre `0.1.x` warning

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The following options can be used to control the behavior of the middleware:
9595
<tr>
9696
<th><code>storeCss</code></th>
9797
<td>Function that is in charge of storing the css in the filesystem.</td>
98-
<td><code>function(pathname, css, next){...}</code></td>
98+
<td><code>function(pathname, css, req, next){...}</code></td>
9999
</tr>
100100
<tr>
101101
<th><code>cacheFile</code></th>

0 commit comments

Comments
 (0)