ASP.NET MVC4 Bundle a single file

mikem

New Member
Is there a way to bundle a single file using the new bundling features in MVC4? I know bundling a single file doesn't make much sense but I'd like to use server-side minification and let MVC append a hash on to the end of the URL for caching purposes.I've tried the \[code\]@Scripts.Url("~/Scripts/myscript.js")\[/code\] but it doesn't appear to work.
 
Back
Top