title: MVC4 Bundles - No Twitter Bootstrap icons
body: <p>Running my MVC4 app in debug mode (so no minification of css/scripts) works fine.  As soon as I run without debug (css/scripts minified), my Twitter Bootstrap icons do not get displayed.  Another thread on here suggested using <strong>bundles.IgnoreList.Clear()</strong>.  But that does not seem to work for me.  My BundleConfig.RegisterBundles(...) looks like this:</p>
  
  <pre><code>public static void RegisterBundles(BundleCollection bundles)
  {
      bundles.IgnoreList.Clear();
  
      // Some JavaScript bundles only
      // ...
  
      bundles.Add(new StyleBundle("~/bundles/maincss").Include(
          "~/Content/bootstrap.css",
          "~/Content/bootstrap-responsive.css",
         "~/Content/my.css"));
      }
  }
  </code></pre>
  
  <p>All packages were installed using Nuget (as I say, it works fine in debug mode). My Content folder also contains the minified versions of both the bootstrap...css files, but not a minified version of my.css.  The glyph icons are in the images sub-folder.</p>
  
  <p>My _Layout.cshtml looks like this:</p>
  
  <pre><code>&lt;head&gt;
      ...
      @Styles.Render("~/bundles/maincss")
  &lt;/head&gt;
  </code></pre>
  
  <p>I should add, that by "non-debug" mode, I mean setting the debug="false" option in the Web.config file:</p>
  
  <pre><code>&lt;compilation debug="false" targetFramework="4.5" /&gt;
  </code></pre>
  
  <p>Does anyone have any idea why the twitter bootstrap icons do not show in <strong>"non-debug"</strong> mode?</p>
  
  <p>Thanks
  Rob</p>