1

我有一个如下的字体声明

@font-face {
font-family: "PreloSlab";
src: url("../fonts/PreloSlab-ExtraBold.eot?#iefix") format("embedded-opentype"), url("../fonts/PreloSlab-ExtraBold.otf") format("opentype"), url("../fonts/PreloSlab-ExtraBold.woff") format("woff"), url("../fonts/PreloSlab-ExtraBold.ttf") format("truetype"), url("../fonts/PreloSlab-ExtraBold.svg#PreloSlab-ExtraBold") format("svg");
font-weight: 800;
font-style: normal;

}

捆绑后

PreloSlab-ExtraBold.eot?#iefix

SquishIt 将其更改为

PreloSlab-ExtraBold.eot%3F%23iefix

此转换后未加载字体文件。任何人都可以建议一种方法来使其工作而不需要将此 CSS 文件从捆绑包中取出吗?

4

1 回答 1

0

Upgrading SquishIt package and its dependencies fixed this issue.

于 2019-12-13T13:11:33.227 回答