This task can do fairly a whole lot, yet the essentials are this:
I make use of Justin Etheredge's SquishIt task. It is outstanding! For asp.net just nonetheless.
- It sustains LESS
- I think it sustains Google Closure
- It is extremely very easy to make use of.
Read the intro to squishit blog post.
Below's some example code that will certainly provide a solitary
<script> tag and also a solitary
<link> tag. Both of which will certainly indicate a mixed and also minified JS/CSS documents.
- Yahoo YUI Compressor
- Microsoft AJAX Minifier
All are really effective - - you can locate contrasts of them fairly conveniently. All are command line devices, so they can be conveniently incorporated right into your run instantly when you construct or release your internet site.
You can additionally locate several internet sites that run these device for you, which will certainly conserve you the moment of needing to install/configure. This additionally aids if you aren't accustomed to making use of command line devices.
Directly, I've constantly made use of YUI Compressor.