We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
additionalData
1 parent b32d7e7 commit 62c6934Copy full SHA for 62c6934
src/index.js
@@ -33,7 +33,7 @@ async function lessLoader(source) {
33
if (typeof options.additionalData !== 'undefined') {
34
data =
35
typeof options.additionalData === 'function'
36
- ? `${options.additionalData(data, this)}`
+ ? `${await options.additionalData(data, this)}`
37
: `${options.additionalData}\n${data}`;
38
}
39
0 commit comments