Explorar el Código

remove alternative fonts after removing unused CSS styles

Gildas hace 7 años
padre
commit
405044119c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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" },