aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-04-12 17:37:18 +0200
committercodecalm <codecalm@gmail.com>2020-04-12 17:37:18 +0200
commitfe354cb5156f064c8ff16b2368ff0cfa9cc8beae (patch)
tree5254731e5bb42953a5fb4c21fc1d79c4455c5fa3
parenticons circle fixes (diff)
downloadtabler-icons-fe354cb5156f064c8ff16b2368ff0cfa9cc8beae.tar.xz
headless mode on
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
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({