It looks like in the meantime some kind soul has released a custom class that does exactly what I need.
You can get his source at https://github.com/benmccallum/AspNetBundling.
It looks like in the meantime some kind soul has released a custom class that does exactly what I need.
You can get his source at https://github.com/benmccallum/AspNetBundling.