Skip to content

Commit

Permalink
Install chrome in current dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wxh06 committed Jul 13, 2023
1 parent ba60810 commit 930dd7b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 88 deletions.
9 changes: 9 additions & 0 deletions .puppeteerrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const { join } = require("path");

/**
* @type {import("puppeteer").Configuration}
*/
module.exports = {
// Changes the cache location for Puppeteer.
cacheDirectory: join(__dirname, "node_modules", ".cache", "puppeteer"),
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"prisma": "^4.16.2"
"prisma": "^4.16.2",
"puppeteer": "^20.8.1"
},
"engines": {
"pnpm": "^8.6.0"
Expand Down
Loading

0 comments on commit 930dd7b

Please sign in to comment.