forked from jetheredge/SquishIt
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
justin-arvay edited this page May 2, 2012
·
6 revisions
For a basic tutorial, please go "here":http://www.codethinked.com/post/2010/05/26/SquishIt-The-Friendly-ASPNET-JavaScript-and-CSS-Squisher.aspx
Using SquishIt programmatically without the file system
The format for the resource path is «assemblyName»://«resourceNameFromPath». The name of the assembly must match the default namespace for the assembly, until this bug is resolved.
Example of Adding EmbeddedResource to Bundle:
Bundle.JavaScript()
.AddEmbeddedResource("~/Content/my.js", "Web.Site.Assembly.Name://Content.my.js")