Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8256fd4

Browse files
nibtimewardpeet
andauthored
docs(gatsby-plugin-preload-fonts): add external chrome env var (gatsbyjs#21845)
Co-authored-by: Ward Peeters <[email protected]>
1 parent 1f7ba9a commit 8256fd4

File tree

1 file changed

+3
-0
lines changed
  • packages/gatsby-plugin-preload-fonts

1 file changed

+3
-0
lines changed

packages/gatsby-plugin-preload-fonts/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,6 @@ npm run preload-fonts -- --no-sandbox
137137

138138
This comes with [inherent security risks](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md),
139139
but you should be alright since you're only running it locally.
140+
141+
### Use different Chrome/Chromium executable
142+
In some cases, you might have to point Puppeteer to an external installation of Chrome/Chromium (e.g., on Alpine Linux, the build-in version of Chromium does not work). You can set the `PUPPETEER_EXECUTABLE_PATH` environment variable to the path of your custom chromium installation. A list with all environment variables to configure Puppeteer can be found [at the official docs](https://pptr.dev/#?product=Puppeteer&version=v1.20.0&show=api-environment-variables).

0 commit comments

Comments
 (0)