aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-02 23:03:46 +0100
committercodecalm <codecalm@gmail.com>2020-03-02 23:03:46 +0100
commit7dbba53614764c25bfb4bcf32ec5d858025812c4 (patch)
treeec7ddcb2f27deae98f928ae3ad886101ea55eab2 /gulpfile.js
parentbox, music, lego (diff)
downloadtabler-icons-7dbba53614764c25bfb4bcf32ec5d858025812c4.tar.xz
box, music, lego
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js
index c5939f7..a0d8a9f 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -64,6 +64,7 @@ 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");
console.log('file', file);