Last post Jun 06, 2012 10:38 AM by pranav rastogi
Feb 15, 2012 12:11 AM|thecubical|LINK
Does the new bundling and minification support in asp.net 4.5 support some way of toggling between being turned on and off.
For instance when debugging locally it is quite handy to be able to read the non-minified sources but in production its unlikely you would want this.
From what I've seen it doesn't look like it supports it out of the box but I could be wrong, would there be a way to make it do this?
Feb 15, 2012 05:32 AM|DarrellNorton|LINK
You can comment out the call to BundleTable.Bundles.EnableDefaultBundles(); in global.asax.
Jun 06, 2012 10:38 AM|pranav rastogi|LINK
this feature is now in bundling which will automatically switch to non minified files in debug mode.
you can grab the nuget package from http://nuget.org/packages/Microsoft.Web.Optimization/1.0.0-beta2