aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-04-19 16:00:49 +0200
committercodecalm <codecalm@gmail.com>2020-04-19 16:00:49 +0200
commitf399765c02ff98e16de3f678ea5503f3a03ded7f (patch)
treeb73f5028928d9a0cfd70bba6f4da1befa159ae1c /gulpfile.js
parentRelease 1.5.0 (diff)
parenttags.json file (diff)
downloadtabler-icons-f399765c02ff98e16de3f678ea5503f3a03ded7f.tar.xz
Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js
index ff6b8c21..86f4fc99 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -23,7 +23,7 @@ const svgToPng = async (filePath, destination) => {
filePath = path.join(__dirname, filePath);
const htmlFilePath = path.join("file:", filePath);
- const browser = await puppeteer.launch({headless: false});
+ const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.setViewport({
@@ -51,7 +51,7 @@ const createScreenshot = async (filePath) => {
const fileName = filePath.replace('.svg', '');
const htmlFilePath = path.join("file:", filePath);
- const browser = await puppeteer.launch({headless: false});
+ const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.setViewport({
@@ -317,7 +317,7 @@ gulp.task('build-jekyll', function (cb) {
});
gulp.task('build-copy', function (cb) {
- cp.exec('mkdir -p icons/ && rm -fd ./icons/* && cp ./_site/icons/* ./icons', function () {
+ cp.exec('mkdir -p icons/ && rm -fd ./icons/* && cp ./_site/icons/* ./icons && cp ./_site/tags.json .', function () {
cb();
});
});