After recently incorporating Grunt into my workflow, I was thrilled with how it streamlined the process of minifying/concatenating .css files and minifying/uglify/concatenating .js files. With Grunt watch and express, I was able to automate compiling and restarting the server seamlessly. However, my excitement turned to concern when I noticed an overwhelming 85 instances of the ".wrapper" class in my style.css file. This class, utilized in my templates (jQuery.tmpl), as well as .js files, prompted me to explore the idea of uglifying my .css files. Inspired by the compact classes found in gmail's source code, I set out to replace all occurrences of '.wrapper' with a shorter alternative like '.w'. How can I efficiently uglify all classes and ids in .js, .html, and .css files collectively?