documentcloud / jammit

Industrial Strength Asset Packaging for Rails
http://documentcloud.github.com/jammit/
MIT License
1.16k stars 197 forks source link

render external css files #49

Closed astropanic closed 14 years ago

astropanic commented 14 years ago

When a css file has an reference to another css file via the import directive, the referenced file shoud be included in the generated css file, for saving http requests.

jashkenas commented 14 years ago

Sorry, but this one is a wontfix. You shouldn't need to use @import at all -- just include the stylesheets that you want, in the order that you want, in your asset package. There's no benefit to using @import in either development (when both will generate individual HTTP requests), or in production.

astropanic commented 14 years ago

Ok, you're right, but many tools produce @import directives, try for example http://builder.yaml.de/