Add support for additional (SSR) rendering options through a render plugin type #709
Closed
1 of 5 tasks
Labels
alpha.0
CLI
discussion
tied to an ongoing discussion or meeting notes
documentation
Greenwood specific docs
feature
New feature or request
Plugins
Greenwood Plugins
SSR
v0.23.0
Milestone
Type of Change
Summary
As part of ongoing discovery in #576 , one the key action item needed is to be able to facilitate different rendering options so there can be an alternative to only being able to use puppeteer.
Details
As part of adding this new render plugin, puppeteer should be moved into a plugin of its own under the
@greenwood
namespace and become apeerDependency
.As bonus points, would be nice to see if this could only be installed as needed to avoid the issue of having to pull down an entire browser if don't even have any JS. (e.g. the
npx
hello world / getting started scenarios)When #855 is added, by virtue of a user providing their own custom renderer, we should set
prerender: true
and use their renderer instead.The text was updated successfully, but these errors were encountered: