Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@import only substitutes with the file contents if loading in a .less file (needs .css files too) #213

Closed
balupton opened this issue Mar 2, 2011 · 2 comments

Comments

@balupton
Copy link

balupton commented Mar 2, 2011

Using @import will only substitute with the file contents if it is referencing a .less file. This needs to support .css files too.

@cloudhead
Copy link
Member

It's intentional, it gives you the ability to import css without compiling it.

@balupton
Copy link
Author

balupton commented Mar 6, 2011

And that by-design prevents us from being able to combine multiple CSS files into one - which is our requirement.

Why not have it so if you don't want to combine do something like this @import 'other.css?nocombine'

It allows us to achieve both our desired functionalities. I tried bypassing the check via monkey patching, but failed getting it to work.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants