brunch / less-brunch

Adds LESS support to Brunch
14 stars 18 forks source link

Allow arbitrary options to be passed to the less compiler #21

Closed tenorviol closed 7 years ago

tenorviol commented 9 years ago

This change passes all data in plugins.less to the less compiler, with the exception of current limitations. The immediate need is to allow passing globalVars and modifyVars.

See https://github.com/brunch/less-brunch/issues/17

tenorviol commented 9 years ago

@es128 The Object.keys().forEach kind of turned into a mess, mostly due to that optimize feature. Probably I should write a test or two for it. It's the kind of thing I'd like to remove, but that's probably not a great idea what with this being a public library and all. Folks don't take too kindly to their favorite feature stealth disappearing on them. I've replaced underscore with util-extend.

I'll write the optimize test later. Need sleep.

shvaikalesh commented 7 years ago

This was resolved somewhere in ^2 period. Thanks for the PR anyway!