less.js icon indicating copy to clipboard operation
less.js copied to clipboard

`@import` (reference) .css files

Open santyclaz opened this issue 12 years ago • 2 comments

It seems like referencing files with a .css file extension is not possible (i.e. @import (reference) file.css).

Is there a way to do this that I am not aware of? Just changing the extension from .css to .less is the easy workaround, but ideally I shouldn't have to do that.

santyclaz avatar Apr 22 '14 20:04 santyclaz

Use @import (reference, less) file.css;.

seven-phases-max avatar Apr 23 '14 00:04 seven-phases-max

Ah excellent. It wasn't obvious to me through the docs that the options could be composed like that. Thanks!

santyclaz avatar Apr 23 '14 04:04 santyclaz