forked from jetheredge/SquishIt
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
jetheredge edited this page Jul 6, 2012
·
6 revisions
For a basic tutorial, please go "here":http://www.codethinked.com/squishit-the-friendly-aspnet-javascript-and-css-squisher
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")