diff --git a/.build/optimize.mjs b/.build/optimize.mjs index a3523461d..2ad40d4cf 100644 --- a/.build/optimize.mjs +++ b/.build/optimize.mjs @@ -61,9 +61,6 @@ glob(join(ICONS_SRC_DIR, '*.svg'), {}, function(er, files) { return `[\n\s\t]+)/g, function() { - // return `M` - // }) .replace(/[\n\t\s]*[\n\t\s]*<\/svg>/)) { - console.log(`Fix ${file}!`); - } + // if (!svgFileContent.match(/[\n\t\s]*[\n\t\s]*<\/svg>/)) { + // console.log(`Fix ${file}!`); + // } if (svgFile.toString() !== svgFileContent) { writeFileSync(file, svgFileContent)