From fe354cb5156f064c8ff16b2368ff0cfa9cc8beae Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 12 Apr 2020 17:37:18 +0200 Subject: headless mode on --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index ff6b8c2..9a5b6e6 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({ -- cgit v1.2.1 From de70565fdfb2ec1d93eb12f3b326642f4f571778 Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 19 Apr 2020 15:57:27 +0200 Subject: tags.json file --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index 9a5b6e6..86f4fc9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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(); }); }); -- cgit v1.2.1