mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-15 10:15:23 +08:00
build: fix pnpm pptr postinstall (#12450)
* chore: fix chrome not found in jest * chore: explicitly require deps for stealth plugin
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = async (extraOptions = {}) => {
|
||||
const { addExtra } = require('puppeteer-extra');
|
||||
puppeteer = addExtra(puppeteer);
|
||||
|
||||
// workaround for vercel/nft #54 and #283
|
||||
// workaround for vercel/nft #54, #283, #304
|
||||
require('puppeteer-extra-plugin-stealth/evasions/chrome.app');
|
||||
require('puppeteer-extra-plugin-stealth/evasions/chrome.csi');
|
||||
require('puppeteer-extra-plugin-stealth/evasions/chrome.loadTimes');
|
||||
|
||||
Reference in New Issue
Block a user