Skip to content

Commit 3b19c1e

Browse files
authored
fix: Forward preprocessor options to less (#25)
Fixes #24
1 parent 986084e commit 3b19c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/styleProcessors/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const less = {
7474
let error: Error | null = null
7575
nodeLess.render(
7676
source,
77-
{ syncImport: true },
77+
Object.assign({}, options, { syncImport: true }),
7878
(err: Error | null, output: any) => {
7979
error = err
8080
result = output

0 commit comments

Comments
 (0)