Append dynamic variables to engine.compile()
Opened this issue · 1 comments
JpEncausse commented
Hi,
Is there a best practice to add dynamic @variable to engine ?
Let's say I have a file.less and would like to call:
- engine.compile('file.less', map); where map contains @color = "#FF0000"
- engine.compile('file.less', map); where map contains @color = "#00FF00"
It seems there is no bridge to change 'env'
asual commented
Is there something similar available in the command-line less.js compiler?