1

Minification in asp.net seems to break the bootstrap UTF symbols. I have this in the original file:

.glyphicon-edit:before {
  content: "\e065";
}

and this in the minified version:

.glyphicon-edit:before{content:""}

In theory I can add the pre-minified version instead, but that does not work for some reason either. I have asked this question earlier (Asp.Net bundling not using the .min files) but with no luck.

Any ideas how to fix the minification?

Community
  • 1
  • 1
Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207

1 Answers1

1

Try updating to the 1.1.3 of Optimization and in your bundleconfig, identify the css and include them using

     bundles.Add(new StyleBundle("~/Content/css")
.Include("style.css", new CssRewriteUrlTransform());

and include the rest of the css files that you need which don't have a url reference or UTF char.