Ahhh, thanks for the details. The only solution I could think of involved writing out a dict like you're describing and using a template helper to look up the modified asset filenames. I was wondering if there was a more elegant solution that was escaping me.
And it probably would've taken me a little while to realize that I'd need to rewrite CSS files as well, so thanks for that, too!
And it probably would've taken me a little while to realize that I'd need to rewrite CSS files as well, so thanks for that, too!