deanhume/html-minifier — pull request #1 by danieljsinclair (2013-11-23 02:50:17+00:00)
Title: Use WebMarkupMin

Hi Dean
I tried your minifier on my cshtml but it didn't correctly handle @ syntax in terms of // comments or preserve important line breaks in the razor syntax.

I found WebMarkupMin which looks like a pretty well seasoned and comprehensive compressor. It has an issue with IE conditional comments in my tests but otherwise good.

It doesn't however seem to support razor syntax at all so I don't know if this fork is any good to you?

I've also augmented the command line argument handling to accept a filespec and configuration parameters.