metaskills/less-rails — Issue #28: @import should handle .css.less files
Author: joliss
Created: 2012-02-24 01:02:50+00:00
State: open

With Sass, the following statements in application.css.scss seem to be equivalent:

```
@import "test";
//= require test
```

Having either one or both will include the `test.css.scss` file once. That's awesome!

With LESS (application.css.less), this doesn't work: The `@import` statement will only include a `test.less` file, whereas the `//= require` statement will only include a `test.css.less` file. (Unless I'm missing something?)

I'm thinking that on Rails, LESS should work with .css.less files. What do you think?

--------------

Version specs:

less (2.0.9)
less-rails (2.1.6)
sass (3.1.15)
sass-rails (3.2.4)
sprockets (2.1.2)
rails (3.2.1)