Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middleware for prerender #34

Open
mdings opened this issue May 18, 2021 · 0 comments
Open

Middleware for prerender #34

mdings opened this issue May 18, 2021 · 0 comments

Comments

@mdings
Copy link
Contributor

mdings commented May 18, 2021

Would it be possible to add some kind of middleware or hook to run transformations during prerender? I'm using penthouse for example to inline critical css in the page. I'm duplicating logic from hyperstatic currently in a separate node script which runs on render. Might be nice to have access to some kind of plugin system though. Any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant