lesscss-engine
lesscss-engine copied to clipboard
Append dynamic variables to engine.compile()
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'
Is there something similar available in the command-line less.js compiler?