chrisvfritz / prerender-spa-plugin

Prerenders static HTML in a single-page application.
MIT License
7.32k stars 634 forks source link

How to configure puppeteer inside prerender-spa for Heroku #471

Closed pieroliviermarquis closed 3 years ago

pieroliviermarquis commented 3 years ago

This page explains how to use puppeteer on Heroku. (https://elements.heroku.com/buildpacks/jontewks/puppeteer-heroku-buildpack).

It says to include { args: ['--no-sandbox'] } in the launch() call of puppeteer.

Since puppeteer is launched by prerender-spa, how can I pass these configs?