From c667588dfbdc5bad738cf278e43c132cd882c85b Mon Sep 17 00:00:00 2001 From: Rahul Kadyan Date: Wed, 27 Jun 2018 22:39:58 +0530 Subject: [PATCH] fix: Forward preprocessor options to less Fixes #24 --- lib/styleProcessors/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/styleProcessors/index.ts b/lib/styleProcessors/index.ts index b8f6a15..b458c52 100644 --- a/lib/styleProcessors/index.ts +++ b/lib/styleProcessors/index.ts @@ -74,7 +74,7 @@ const less = { let error: Error | null = null nodeLess.render( source, - { syncImport: true }, + Object.assign({}, options, { syncImport: true }), (err: Error | null, output: any) => { error = err result = output