chore: Remove unnecessary console.log statements

This commit is contained in:
Harvey Zack committed 2024-05-27 10:01:40 +08:00
1 parent 45c122027a
commit e3a337d9ab
13 files changed
+22 -12

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ const compiledPath = path.resolve(`docs/compiled`);
function compressString(input) {
const compressedHtmlString = input.replace(/\s*(<[^>]+>)\s*/g, '$1');
const compressedCssString = compressedHtmlString
.replace(/\s*([{}:;,])\s*/g, '$1')
.replace(/\s*([:;,])\s*/g, '$1')
.replace(/\s+/g, ' ')
.trim();
return compressedCssString;