google / closure-stylesheets

A CSS+ transpiler that lints, optimizes, and I18n-izes
Apache License 2.0
312 stars 65 forks source link

ant task for stylesheet clouser #25

Open iflan opened 8 years ago

iflan commented 8 years ago

Originally reported on Google Code with ID 6

Add customer ant task for building css from one or more gss source file.

similar solution exists for javascript closure.

http://code.google.com/p/closure-compiler/wiki/BuildingWithAnt

Reported by songyunhui2008 on 2011-11-22 02:48:23

iflan commented 8 years ago

Reported by bolinfest@google.com on 2011-12-02 22:16:04

iflan commented 8 years ago
This would be very helpful. While I prefer the closure ant configuration with fine grained
settings per group, it might also be worth taking a look at the wro4j config where
you can specify css and js resources in a single group. As well as refer to other groups.

    <group name="base">
        <css>/path/to/file.css</css>

        <js>/path/to/file.js</js>

        <group-ref>other</group-ref>
    </group>

Reported by shawn.carrillo on 2012-10-03 15:36:11