-
Notifications
You must be signed in to change notification settings - Fork 323
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
Does it handle imports and adjust urls? #2
Comments
It does not handle imports as it's been created to optimize CSS declarations only. https://github.com/GoalSmashers/enhance-css |
Thanks mate. Looking at the enhance-css code, it does handle embedding images, but doesn't seem to handle doing the following: Say if I have the following: style.css @import 'a.css';
@import 'b.css'; to: /* the contents of a.css */
/* the contents of b.css */ Is this planned at some point? |
Right, it doesn't work at the moment, as we don't use @import's at all at GoalSmashers (as we use Less extensively). Could you do us a favor and open a ticket in enhance-css repository? |
Hello. I'm just wondering if this was ever addressed? I'm currently looking at using the Backbone Boilerplate Grunt tasks and it would be awesome if the clean-css task could follow @import URLs, similar to how the RequireJS r.js optimiser works. Thanks! |
Hi Tom, We don't use @import in our CSS suite thus it's not included at the moment, though we see it useful. We have mixed feelings on including this feature in clean-css as it's more about enhancing CSS (see our enhance-css) rather than optimizing. We will think about including it in somewhere though. Best, On Apr 10, 2012, at 17:48, Tom Spencerreply@reply.github.com wrote:
|
Woot woot woot! Looking forward to it :) |
No description provided.
The text was updated successfully, but these errors were encountered: