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