I have a CSS file that I use for testing. It @imports all of my stylesheets:
@import "css/structure.css"
@import "css/typography.css"
@import "css/forms.css"
This lets me test the styling and changes, but in a way that you'd never want live.
When I "build" this project, I'd like to find all of these references (RegEx css/(.*?.css)) and then use that list as a FileSet to then merge and compress.
The merging and compressing are, oddly, the easiest part. I'm at a complete loss on how to use RegEx to build my FileSet.
If I have to go to a .properties file, I will, but I was hoping for something that could be more automated.
Appreciate any thoughts...
—Nate