This is a Netlify build plugin that prerenders pages in a SPA. Under the hood, the plugin uses React-Snap, a zero-config framework-agnostic static prerendering library for SPAs.
To include this plugin in your site deployment:
# Add the plugin as a dependency to your build
npm i --s netlify-plugin-prerender-spa
You can use the default options for prerendering or add customizations via the plugins inputs like so:
# Config for the Netlify Build Plugin: netlify-plugin-minify-html
[[plugins]]
package = "netlify-plugin-prerender-spa"
[plugins.inputs]
source = "dist"