Created ASP.Net MVC 5 web project and installed Twitter.Bootstrap.Less 3.0.1 and FontAwesome.less 4.0.3 NuGet Packages.
Changed Content/fontawesome/variables.less to use
@fa-font-path: "fonts";
Changed Content/bootstrap/variables.less to use
@icon-font-path: "fonts/";
@icon-font-name: "fontawesome-webfont";
Changed Content/bootstrap/bootstrap.less to replace glyphicons import to
@import "../fontawesome/font-awesome";
Compiled LESS source into bootstrap.css at build-time using RECESS. For more details, see here.
All this works great in debug mode. But fontawesome icons do not appear in release mode i.e. when debug attribute is removed from web.config or when BundleTable.EnableOptimizations = true; is added in the BundleConfig.cs.
Icons are shown as square box in Chrome and blank space in IE 10.
Any idea what may be missing here?