Winforms JS Minifyer - Hilton Giesenow's Jumbled Mind

Hilton Giesenow's Jumbled Mind

the madness that is...

News

This is my little spot in cyberspace where you will find a collection of random (but mostly software-related) thoughts and ideas that are frightening in their shining brilliance (or something like that ;->).
 
Please enjoy your stay and feel free to Contact Me.
 
Microsoft MVP

.Net Links

BlogRoll

Misc. Links

Syndication

Winforms JS Minifyer

For Tech Ed recently I did a talk on ASP.NET performance and scalability, and one of the topics we discussed was minifying JavaScript, which basically means getting rid of all of the comments, whitespace, etc. There are a couple of tools out there that do this, probably the most popular of which is Douglas Crockford's JSMin. The only problem is that it's a console app (which is great for automated builds, but not as good for demo'ing on stage). So, I wrote a small winforms wrapper around JSMin, which you can download here: Visual JavaScript Minifier.

In case you're still now sure what it is, here's a screenshot:

Screenshot

Comments

cjlotz said:

The MSBuild.Community.Tasks has a JSCompress task for JazMin - a C# port of JSMin.  It wraps the console app to make it even easier to integrate it into your automated builds - see www.raboof.com/.../Jazmin

# September 19, 2008 1:14 PM