Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit e5bdadf

Browse files
committed
skip puppeteer download chrome
1 parent b78693f commit e5bdadf

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.puppeteerrc.cjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* @type {import("puppeteer").Configuration}
3+
*/
4+
module.exports = {
5+
cacheDirectory: '/vercel/.cache/puppeteer',
6+
executablePath:
7+
'/vercel/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome',
8+
chrome: {
9+
skipDownload: true,
10+
},
11+
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
12+
}

puppeteer.config.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)