Skip to content

Add {less} as a task in gear-lib #4

Closed
juandopazo opened this Issue Aug 29, 2012 · 2 comments

2 participants

@juandopazo
Yahoo Inc. member

Hey! I saw you're using LESS to minify CSS files in gear-lib. Could you expose the LESS compiler as a task? It'd be useful for those of us who use LESS.

Thanks!

@twobit
twobit commented Aug 29, 2012

I created a new alias for the cssminify task called less. Here is a sample usage:

new Queue()
 .read('foo.css')
 .less({compress: false})
 .run(function(err, res) {
  console.log(res[0].result);
 })

yahoo/gear-lib@5da4e90

@twobit twobit closed this Aug 29, 2012
@juandopazo
Yahoo Inc. member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.