diff options
author | codecalm <codecalm@gmail.com> | 2020-03-02 23:03:46 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-02 23:03:46 +0100 |
commit | 7dbba53614764c25bfb4bcf32ec5d858025812c4 (patch) | |
tree | ec7ddcb2f27deae98f928ae3ad886101ea55eab2 /gulpfile.js | |
parent | box, music, lego (diff) | |
download | tabler-icons-7dbba53614764c25bfb4bcf32ec5d858025812c4.tar.xz |
box, music, lego
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index c5939f7a..a0d8a9f0 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); |