mirror of
https://github.com/tradingview/lightweight-charts.git
synced 2024-11-25 16:50:59 +08:00
22 lines
570 B
JavaScript
22 lines
570 B
JavaScript
const { join } = require('path');
|
|
|
|
/**
|
|
* @type {import("puppeteer").Configuration}
|
|
*/
|
|
module.exports = {
|
|
/**
|
|
* We need to set the cacheDirectory so that the CircleCI pipeline
|
|
* can reliably find the installed chrome binary
|
|
*/
|
|
cacheDirectory: join(__dirname, 'node_modules', '.cache', 'puppeteer'),
|
|
downloadBaseUrl: 'https://storage.googleapis.com/chrome-for-testing-public',
|
|
experiments: {
|
|
/**
|
|
* This can also be configured / overridden with the
|
|
* PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM
|
|
* env variable
|
|
*/
|
|
macArmChromiumEnabled: true,
|
|
},
|
|
};
|