Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

[Question] Is there any way to run some js only during prerendering? #24

Closed
ymatuhin opened this issue Jan 24, 2020 · 1 comment
Closed
Labels
question Further information is requested

Comments

@ymatuhin
Copy link

For example I want to change some text on website, but I want it only when I prerender content and not run it in a runtime again.

@ABuffSeagull ABuffSeagull added the question Further information is requested label Jan 27, 2020
@ABuffSeagull
Copy link
Owner

Just glancing over some of the packages, I'm not sure if there currently is a way with @prerenderer/prerenderer as it is.
I'll have to do some testing to see if you can fire events from Puppeteer before rendering.

@ymatuhin ymatuhin closed this as completed Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants