mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-16 20:00:54 +08:00
15 lines
301 B
JavaScript
15 lines
301 B
JavaScript
const { join } = require('path');
|
|
|
|
let config = {};
|
|
if (!process.env.FUNCTIONS_EMULATOR) {
|
|
config = {
|
|
// Changes the cache location for Puppeteer.
|
|
cacheDirectory: join(__dirname, 'puppeteer'),
|
|
};
|
|
}
|
|
|
|
/**
|
|
* @type {import("puppeteer").Configuration}
|
|
*/
|
|
module.exports = config;
|