Passing a function to sassOptions
seems to have incorrect parameters documented
#1226
Closed
1 of 4 tasks
Documentation Is:
Please Explain in Detail...
The documentation for passing a function to the
sassOptions
option states that this function has acontent
and aloaderContext
parameter:However, from what I can tell by using the loader and reading source code, only the
loaderContext
is ever passed (and it always has been this way).I'd guess that this is a left-over of copying over the code block from passing a function to
additionalData
(which actually does receive both arguments).Your Proposal for Changes
If this is confirmed to be a bug in the docs (in which I'm quite confident), I'll submit a quick PR.
The text was updated successfully, but these errors were encountered: