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

Should not process .css files #11

Closed leon closed 12 years ago

leon commented 12 years ago

According to the lesscss.org spec

If you want to import a CSS file, and don’t want LESS to process it, just use the .css extension:

@import "lib.css"; The directive will just be left as is, and end up in the CSS output.

So that means the servlet isn't doing as it should.

asual commented 12 years ago

You're correct. I have exposed an option for CSS processing in the lesscss-engine project and it's enabled by default in lesscss-servlet. I will change the behavior to comply with the lesscss.org spec and make the current support optional.

leon commented 12 years ago

Awesome!

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

wrote:

You're correct. I have exposed an option for CSS processing in the lesscss-engine project and it's enabled by default in lesscss-servlet. I will change the behavior to comply with the lesscss.org spec and make the current support optional.


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