Parcourir la source

remove alternative fonts after removing unused CSS styles

Gildas il y a 7 ans
Parent
commit
405044119c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      lib/single-file/single-file-core.js

+ 2 - 2
lib/single-file/single-file-core.js

@@ -103,9 +103,9 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 		]
 	}, {
 		sequential: [
-			{ option: "removeAlternativeFonts", action: "removeUnusedFonts" },
 			{ option: "removeUnusedStyles", action: "removeUnusedStyles" },
-			{ option: "removeAlternativeMedias", action: "removeAlternativeMedias" }
+			{ option: "removeAlternativeMedias", action: "removeAlternativeMedias" },
+			{ option: "removeAlternativeFonts", action: "removeUnusedFonts" }
 		],
 		parallel: [
 			{ action: "processStylesheets" },