aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-10 22:48:47 +0100
committercodecalm <codecalm@gmail.com>2020-03-10 22:48:47 +0100
commit7fa50c654d42d3dd863132d3e2a3ffe0db6b0b05 (patch)
tree1b4914b33cf08e9f9c5331a3726e3de6d3ce97c0 /gulpfile.js
parentdist (diff)
downloadtabler-icons-7fa50c654d42d3dd863132d3e2a3ffe0db6b0b05.tar.xz
new icons, build
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index f2430664..4075046a 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -27,7 +27,7 @@ gulp.task('icons-sprite', function (cb) {
let svg = `<svg xmlns="http://www.w3.org/2000/svg"><defs>${svgContent}</defs></svg>`;
- fs.writeFileSync('icons-sprite.svg', svg);
+ fs.writeFileSync('dist/icons-sprite.svg', svg);
cb();
});
});
@@ -109,7 +109,7 @@ gulp.task('icons-stroke', function (cb) {
const svgContent = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 ${width} ${height}" width="${width}" height="${height}" style="color: #354052"><rect x="0" y="0" width="${width}" height="${height}" fill="#fff"></rect>\n${svgContentSymbols}\n${svgContentIcons}\n</svg>`;
- fs.writeFileSync('dist/icons-stroke.svg', svgContent);
+ fs.writeFileSync('icons-stroke.svg', svgContent);
cb();
});