Save that bandwidth and download times
Here is a tip that I thought I would share.
"ESC is an ECMAScript pre-processor written in JScript, enabling an unlimited number of external scripts to be compressed/crunched into supertight, bandwidth-optimized packages. Featuring several compression-techniques such as comment removal, whitespace stripping, newline stripping and variable substitution ESC can reduce the overall size of your code with up to ~45%. Single, multiple scripts and even directories with scripts can be merged together at the compression level you decide."
I use Visual Studio 2005 Web Deployment Projects for my build and deployment process.
Example batch file:
cscript C:\MyDevelopment\SourceCode\MyProject\esc.wsf -l 3 -ow C:\MyDevelopment\SourceCode\MyProject\v1.0\V1.0_Release\Release\scripts\ThemePreview.js "C:\MyDevelopment\SourceCode\MyProject\v1.0_Release\Release\scripts\ThemePreview.js"
Now all that remains is to add this action to the deployment project. I accomplish this step in the action "AfterBuild".