Skip to content
Lets you *easily* bundle some css and javascript! Check out the Google group if you have questions!
HTML C# JavaScript CSS ASP PHP Other
Latest commit b9d8200 Jan 6, 2016 @AlexCuse AlexCuse 0.9.8.2 release prep
Failed to load latest commit information.
Help start adding XML comments for API documentation Nov 30, 2013
SquishIt.CoffeeScript 0.9.8.2 release prep Jan 6, 2016
SquishIt.Framework 0.9.8.2 release prep Jan 6, 2016
SquishIt.Hogan 0.9.8.2 release prep Jan 6, 2016
SquishIt.Less 0.9.8.2 release prep Jan 6, 2016
SquishIt.MsIeCoffeeScript 0.9.8.2 release prep Jan 6, 2016
SquishIt.MsIeHogan 0.9.8.2 release prep Jan 6, 2016
SquishIt.Mvc 0.9.8.2 release prep Jan 6, 2016
SquishIt.NSass update WebActivator namespace (add Ex) in .cs.pp files Jan 6, 2016
SquishIt.Sass 0.9.8.2 release prep Jan 6, 2016
SquishIt.Tests Added logic to create directory structure if does NOT exists Dec 18, 2015
SquishItAspNetMvcTest test for inline content rendering (#282) Jun 3, 2015
licenses automate construction of core download package (fix #220) Dec 5, 2012
nuspec 0.9.8.2 release prep Jan 6, 2016
packages switch to nuget MVC references Nov 22, 2014
tools pass platform when invoking msbuild Aug 16, 2015
.gitignore test sass/scss import with libsass-net Jun 13, 2014
.gitignore.orig Merge remote branch 'origin/master' into preprocessor-pipeline Apr 12, 2012
README.markdown fix markdown for nuget version image link Sep 30, 2015
SquishIt.Mono.sln include NSass project in mono solution Mar 26, 2014
SquishIt.shfbproj output help as html Dec 1, 2013
SquishIt.sln - base relative path adaptation on web paths instead of disk locations Oct 18, 2014
license.txt Update license.txt Dec 24, 2014
squishit.vssettings add .vssettings Jul 4, 2012

README.markdown

About SquishIt

SquishIt is an asset optimization library for .net web applications. It handles combining and minifying css and javascript assets through creation of bundles. There are currently extensions available that allow use of .less, coffeescript, SASS/SCSS and Hogan templates through SquishIt's preprocessor pipeline. There is also an extension that writes your combined files to Amazon S3 that can serve as a template for integrating with the CDN of your choosing.

For medium trust environments there is an option to build and cache bundles in-memory so that you don't need write permission in the application's working directory. An example of setting this up for an ASP.net MVC project can be found here. For a WebForms project the asset controller would just be replaced with an HTTP handler.

Installation

SquishIt comes as a NuGet package and can be installed via PM> Install-Package SquishIt.

Latest stable package: nuget version.

You can also download precompiled binaries from the SquishIt AppHarbor page.

Building from source

You will need to have Visual Studio and 7-Zip installed.

  1. Open Visual Studio Command Prompt
  2. cd \path\to\SquishIt\tools
  3. If necessary, add 7z.exe to your path: set PATH=%PATH%;C:\Program Files\7-Zip\
  4. Run build-package version-id (version-id can be anything you like.)

If all went well, you should have a package called tools/SquishIt-version-id.zip.

Thanks

The build is generously hosted and run on the CodeBetter TeamCity infrastructure.

Latest build status: status

We also get great tooling support from the kind folks at JetBrains

Something went wrong with that request. Please try again.