hyperstatic icon indicating copy to clipboard operation
hyperstatic copied to clipboard

Middleware for prerender

Open mdings opened this issue 4 years ago • 0 comments

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?

mdings avatar May 18 '21 08:05 mdings