#6 discuss
Tys von Gaza

Support for CSS concatenation / constants

Reported by Tys von Gaza | February 19th, 2009 @ 10:27 PM

Any way to extend Sprockets to something similar with CSS files?

Comments and changes to this ticket

  • Andrew Vit

    Andrew Vit February 20th, 2009 @ 03:04 AM

    An alternative to this for CSS would be Compass. It uses SASS rather than CSS, but it might work well for you:

  • Andrew Dupont

    Andrew Dupont February 21st, 2009 @ 04:06 AM

    • State changed from “new” to “open”
    • Title changed from “CSS” to “Support for CSS concatenation / constants”

    We've talked about extending Sprockets to handle CSS as well. Since CSS already has an import statement, the value would be in concatenation and the ever-shiny "CSS constants" use case.

    Intrepid hackers should feel free to attempt this one. There's currently nothing JavaScript-specific about how Sprockets processes files; the same approach would work with any plaintext file.

  • Sam Stephenson

    Sam Stephenson February 22nd, 2009 @ 08:17 PM

    • State changed from “open” to “discuss”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript dependency management and concatenation
<a href="http://getsprockets.org/">http://getsprockets.org/</a>

Tags

Pages