Closed pilif closed 12 years ago
Just use any of less, sass or scss (available from 0.2 and later)
Aside of the fact that with these, @import() is correctly resolved during compilation, you can also have @import anywhere in the file and not just at the beginning.
while I would love @import to just work transparently, currently sacy breaks @import's inside the compiled CSS files if they use relative path names and while it doesn't break absolute @import's, such CSS resources are still fetched separately.
To fix this, sacy would need to parse the CSS files to get the imported targets and then rewrite them to not @import any more.
Investigate whether it's worth doing all that work