title: ASP.Net MVC Bundles and Minification
body: <p>When moving from development to a production environment I have run into some problems with the way in which my javascript files are being minified.  It seems that some do not minify properly, and so I have been looking around to find a way to not minify a specific bundle.</p>
  
  <pre><code>    public static void RegisterBundles(BundleCollection _bundles)
      {
          _bundles.Add(new ScriptBundle("~/bundles/toNotMinify").Include(
              "~/Scripts/xxxxxx.js"
              ));
  
          _bundles.Add(new ScriptBundle("~/bundles/toMinify").Include(
              "~/Scripts/yyyyy.js"
              ));
          etc..
  </code></pre>
  
  <p>This is the basic layout in my bundle config class.  I want to find a way in which to have all of my bundles minified, apart from the first one.  Is this possible?  So far the only solution I have found to achieve something similar is to turn off minification globally.</p>