-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate prerendering of pages into the standard build process (i.e. `pnpm build`) using vite-plugin-prerender. The prerendered pages will be output to the dist/ directory by default. NOTES - On Apple devices using Apple Silicon it may be necessary to set the `PUPPETEER_EXECUTABLE_PATH` environment variable and use it to point to a working installation of a version of Chromium that is compatible with installed version of Puppeteer. The Puppeteer post-install scripts ought to install such a version of Chromium in ~/.cache. Use a .env.production.local file to do this. LINKS - https://github.com/Rudeus3Greyrat/vite-plugin-prerender - https://github.com/puppeteer/puppeteer
- Loading branch information
Showing
6 changed files
with
2,164 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.