asual / lesscss-servlet

LESS Servlet - Runtime handling and optimization of less.js resources
http://www.asual.com/lesscss
Apache License 2.0
56 stars 15 forks source link

option to enable closure vs. lesscss #12

Closed leon closed 12 years ago

leon commented 12 years ago

At the moment I cant turn off closure in the servlet if I only want to use the less parser.

Is there a way to add an option to turn on and of the closure compiler / compress option?

asual commented 12 years ago

Have you tried the "compress" init option mentioned in the README?

leon commented 12 years ago

Yes but this operates on both the less parser and the google closure compiler.

It would be better if you could choose to enable them separately.

On Tue, Dec 6, 2011 at 1:33 PM, Rostislav Hristov < reply@reply.github.com

wrote:

Have you tried the "compress" init option mentioned in the README?


Reply to this email directly or view it on GitHub: https://github.com/asual/lesscss-servlet/issues/12#issuecomment-3031616

asual commented 12 years ago

In other words it enables compression for both JS and CSS and you want more control over that.

leon commented 12 years ago

Yes. sometimes I do not want to process my javascript at all.

On Tue, Dec 6, 2011 at 1:39 PM, Rostislav Hristov < reply@reply.github.com

wrote:

In other words it enables compression for both JS and CSS and you want more control over that.


Reply to this email directly or view it on GitHub: https://github.com/asual/lesscss-servlet/issues/12#issuecomment-3031687

asual commented 12 years ago

The project provides 2 servlets:

This basically means that you can configure both servlets separately and achieve the desired effect.