These are chat archives for less/less.js

17th
Nov 2015
Joep van Liempd
@joepvl
Nov 17 2015 09:44
In an application I'm building I'd like to use less.Parser directly, mainly in order to have direct control over what is passed to the parser and how the css gets injected into a document (this is versus using less.render or having less.js manage <link>ed Less stylesheets). I'd also like to use modifyVars (or roll my own similar functionality if necessary). Can anyone point me in the right direction for doing this with a recent Less version, preferably the latest (2.5.3)? All examples I can find of using less.Parser directly are only applicable to old Less versions (< 2.0), which have a different API.