Anthony Johnston
Get Support

Nibbler

This is an additional build task for web project publish to

  • Compress and combine JS and CSS
  • Optimise PNG files
  • Nibble files to remove references to combined files

It uses YUI Compressor for .Net http://yuicompressor.codeplex.com for JS and CSS
and PNGOUT.EXE http://advsys.net/ken/utils.htm for PNG compression.

You can get it from NuGet http://nuget.org/List/Packages/antix-nibbler

And its open source http://code.google.com/p/antix-software

Example Output

Compressing
Compress obj\Debug\Package\PackageTmp\Content\Styles\Default.css: to 80.9%
Compress obj\Debug\Package\PackageTmp\Content\Styles\Site.css: to 82.0%
Compress obj\Debug\Package\PackageTmp\Content\Scripts\jquery.cookie.js: to 22.9%
Compress obj\Debug\Package\PackageTmp\Content\Scripts\jquery.form.js: to 39.1%
Compress obj\Debug\Package\PackageTmp\Content\Scripts\jquery.js: to 41.3%
Compress obj\Debug\Package\PackageTmp\Content\Scripts\jquery.settings.js: to 38.5%
Compress obj\Debug\Package\PackageTmp\Content\Scripts\json2.js: to 19.3%
Compress obj\Debug\Package\PackageTmp\Content\Scripts\Site.js: to 58.6%
Compress obj\Debug\Package\PackageTmp\Content\Graphics\a.png: to 58.7%
Nibble obj\Debug\Package\PackageTmp\Views\Shared\_Layout.cshtml:

Known Issues

After updating or uninstalling Nibbler you will have to restart Visual Studio. This is because VS does not release the NibblerTask from memory, the only way to do this is a restart.

Bugs and Support

Please use the Google Code site for bugs and support, that way everyone can see what is going on with the project

I hope you find it useful.. please send me a message with any other feedback below, and if you like it rate it on NuGet - ta

Get Support (all fields are required)

please add the version, if you know it

please describe the problem including steps for me to reproduce it

also include your operating system or browser where applicable

On Twitter Follow MrAntix on Twitter

a minute ago
MakusTalih
http://t.co/Szy8X3Cgo9 MVC, SignalR and Knockout based Real time UI http://t.co/ajb5sVN8Zq

2 minutes ago
scoriani
RT @markrussinovich: Speaking of Windows Azure performance: Performance Guidance for SQL Server in Windows Azure Virtual Machines http://t.…

3 minutes ago
AzureCloudNet
#Azure #Cloud Windows Azure App Store: Services for Your Cloud Applications: ... the costs of managing your ow... http://t.co/DtB2nvcwvj

3 minutes ago
AzureCloudNet
#Azure #Cloud Microsoft Woos Developers with New Range of Windows Azure ...: Microsoft is gradually and consis... http://t.co/McNqaIj0pw

3 minutes ago
eCoreTechnoSol
#eCore #HT : Microsoft Windows Azure Fights Against Botnets... http://t.co/yIVreSwKPt | #InfoSec #NetSec