My inclination is to say that the two features are different enough to be handled in separate pull requests, but that's largely because I find value in the combining function that I don't find in the template function. I think the renaming a file based on some template is better handled by another pass in the build process, rather than inside of YUglify.

I also object to 'yet another' templating setup used here, and would rather see YUglify use something consistently used elsewhere in YUI or the YUI build chain (another reason to support not doing this in YUglify, as you could configure your own build toolchain to use whatever templating solution you wanted if the file copies and renames where handled elsewhere in your toolchain).

The implementation is fine, I just don't think this belongs here.