prerender-spa-plugin
chrisvfritz/prerender-spa-pluginReviewed by AI
Checked by RepoPicks Radar on
What is prerender-spa-plugin?
This is an add-on for webpack, the tool web developers use to package a site. During the build it starts your single-page app in a hidden Chrome, waits for each listed address to finish drawing and saves the result as a plain HTML file, so visitors and search engines get the finished page instead of an empty one. It is meant for developers who edit webpack.config.js; there is nothing to click. The README's own title says [DEPRECATED] and the repository is archived, so no fixes are coming.
prerender-spa-plugin is free and open source (MIT) and can replace Prerender.io.
How easy is it to install prerender-spa-plugin?
E · developers only · Windows
- Windows E
- macOS E
- Linux E
Developers only on every system, and the grade is the same for all three: it is an npm package you add to the plugins list in webpack.config.js, pointing it at your build folder and the list of addresses to render. It only has an effect inside a webpack build, and the README notes it works only for apps that use HTML5 history routing.
Coming soon: install in 1 click with the RepoPicks app.
prerender-spa-plugin on GitHub
- Stars
- 7,258on Nov 10, 2026
- Downloads
- —all releases
- Growth
- —no gain in the last reading
Stars over time
Facts
- Runs on
- Windows, macOS, Linux
- You need to install
- Node.js
- To build from source
- Node.js
- Disk space
- 100 MB–500 MB · estimate
- Accounts or keys
- None
- Cost
- Free
- License
- MIT (Permissive)
- Can replace
- Prerender.io
- Last change on GitHub
- Apr 9, 2023
prerender-spa-plugin risk signals (7)
- Attentionstale releases
Last release on 2018-09-01 (2985 days ago)
automatic check
- AttentionLow OpenSSF Scorecard
OpenSSF Scorecard 2.6/10
automatic check
- Attentionauthor marked it deprecated
The first line of README.md is "<h1 align=\"center\">[DEPRECATED]</h1>", followed by a "Maintainers Wanted" badge. The repository is archived with 204 open issues, so nothing filed there will be answered. The README points to alternatives such as react-snap, presite and the prerenderer library it is built on.
AI review
- InfoRepository archived
The repository is archived (read-only, no longer maintained)
automatic check
- Infobuilt for very old tooling
package.json says "engines": { "node": ">=4.0.0" }, depends on html-minifier ^3.5.16 and @prerenderer/renderer-puppeteer ^0.2.0, and is built with the Babel 6 toolchain. The last release is from 2018, which is webpack 3 and 4 era, before webpack 5.
AI review
- Infoinstalls a whole browser
The default renderer is @prerenderer/renderer-puppeteer, which brings its own Chrome: "Use @prerenderer/renderer-puppeteer if: You're prerendering up to a couple hundred pages and want accurate results (bye-bye RAM!)". Installing the plugin therefore downloads a browser of a few hundred megabytes.
AI review
- Inforuns your pages during the build
The plugin starts a local server ("First free port after 8000") and loads every listed route in a browser while you build, so your app's code and whatever outside scripts it loads run on the build machine. Blocking those is opt-in: "skipThirdPartyRequests ... Default: false".
AI review
Evidence is shown in its original language.
What Radar could not check about prerender-spa-plugin
- Whether it still builds with current Node and webpack 5, since the last release is from 2018
- How long a build takes and how much memory it uses for a site with many addresses
- Whether a given framework version hands over correctly from the saved HTML to the live app
- Real disk space, which depends mostly on the Chrome that puppeteer downloads