mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
chore: Remove unnecessary console.log statements
This commit is contained in:
1 parent
45c122027a
commit
e3a337d9ab
13 files changed
+22
-12
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user