From 62276c39c73c5b575da9c6fa3d4dbcc00ab388b6 Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 17 Mar 2020 22:06:35 +0100 Subject: gulp optimize fix, missed files --- gulpfile.js | 1 - 1 file changed, 1 deletion(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index b0ccf8e..8ddd3ba 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -191,7 +191,6 @@ gulp.task('optimize', function (cb) { .replace(/\s?\/>/g, ' />') .replace(/\n\s*<(line|circle|path|polyline)/g, "\n <$1") .replace(/polyline points="([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s([0-9.]+)"/g, 'line x1="$1" y1="$2" x2="$3" y2="$4"') - .replace(/\s+"/g, '"') .replace(/\n\n+/g, "\n"); fs.writeFileSync(file, svgFileContent); -- cgit v1.2.1