Thanks to @bep, I figured out how to use wildcards for gathering an array of CSS files using resources.Match. Now, I would like to concatenate these files into one mega CSS file.
But whatever I try, I can’t seem to get resources.Concat working to create a single, unified CSS file (eg error calling Concat: slice template.HTML not supported in concat.
I have a hunch that it’s to do with how resources work, in relation to page bundles, as indicated in this question? But I’m a web designer & gardener by trade, so as much I enjoy working with Hugo, a lot of the inner workings are over my head.
Any help greatly appreciated, it’s the last step before I can get my Modular CSS workflow up and running
Asset files of the same MIME type can be bundled into one resource using resources.Concatwhich takes two arguments, a target path and a slice of resource objects.