|
|
@@ -78,7 +78,6 @@ this.fontsAltMinifier = this.fontsAltMinifier || (() => {
|
|
|
});
|
|
|
processFontDetails(fontsDetails);
|
|
|
sheetIndex = 0;
|
|
|
- debugger
|
|
|
stylesheets.forEach(stylesheetInfo => {
|
|
|
const cssRules = stylesheetInfo.stylesheet.children;
|
|
|
const media = stylesheetInfo.mediaText;
|
|
|
@@ -191,9 +190,6 @@ this.fontsAltMinifier = this.fontsAltMinifier || (() => {
|
|
|
}
|
|
|
|
|
|
function processFontFaceRule(ruleData, fontInfo, stats) {
|
|
|
- if (cssTree.generate(ruleData).includes("-bold")) {
|
|
|
- debugger
|
|
|
- }
|
|
|
const findSource = fontFormat => fontInfo.find(source => !source.src.match(EMPTY_URL_SOURCE) && source.format == fontFormat);
|
|
|
const filterSource = fontSource => fontInfo.filter(source => source == fontSource || source.src.startsWith(LOCAL_SOURCE));
|
|
|
stats.fonts.processed += fontInfo.length;
|