chore: Update build.js to return compressedHtmlString instead of compressedCssString

This commit is contained in:
Harvey Zack committed 2024-05-27 12:30:30 +08:00
1 parent c7e91e3c8f
commit 774ca866d2
5 files changed
+35 -5

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ function compressString(input) {
.replace(/\s*([:;,])\s*/g, '$1')
.replace(/\s+/g, ' ')
.trim();
return compressedCssString;
return compressedHtmlString;
}
async function build(name, targetName) {