Skip to content

Commit

Permalink
Add .puppeteerrc (#179847)
Browse files Browse the repository at this point in the history
Puppeteer uses cosmiconfig to load configuration files. We're seeing
permissions issues for various reasons due to the global search strategy
employed by puppeteer.

This should short circuit configuration lookups outside of the Kibana
directory.

Closes #168639

https://pptr.dev/api/puppeteer.configuration
  • Loading branch information
jbudz authored Apr 3, 2024
1 parent f13cc8c commit 0b7d634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .puppeteerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
skipDownload: true
1 change: 1 addition & 0 deletions src/dev/build/tasks/copy_legacy_source_task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const CopyLegacySource: Task = {
const select = [
'yarn.lock',
'.npmrc',
'.puppeteerrc',
'config/kibana.yml',
'config/node.options',
'.i18nrc.json',
Expand Down

0 comments on commit 0b7d634

Please sign in to comment.