gulp optimize fix, missed files
This commit is contained in:
parent
8a5446a841
commit
62276c39c7
|
|
@ -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);
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
Loading…
Reference in New Issue