[x] confirm static templating works, e.g. src/templates/
[x] Will still need the concept of an executeModule for custom implementations like Lit (do we have to handle a renderer and an adapter plugin at the same time?) and for development
[x] get executeRouteModule from config
[x] simplify executeModule signature (pass in entire page)
[x] Update static router serve spec per new implementation
[x] refactor lit renderer and get all specs passing
[x] Is it OK to reference executeModuleUrl in our wrapper bundles? Can we bundle down into one file instead?
[x] Likely we don't need to output templates/ dir anymore?
Related Issue
resolves #1088
Summary of Changes
References
TODO
executeModule
for custom implementations like Lit (do we have to handle a renderer and an adapter plugin at the same time?) and for developmentexecuteRouteModule
from configexecuteModule
signature (pass in entirepage
)executeModuleUrl
in our wrapper bundles? Can we bundle down into one file instead?os
/ thread pooling for prerendering? - deferred to https://github.com/ProjectEvergreen/greenwood/issues/970 and #1117Questions
getTemplate
has to be a "static" function (for now) but maybe we will deprecating anyways as part of #955 ? - deferred to https://github.com/ProjectEvergreen/greenwood/issues/1008[x] How to handle something like Netlify which needs custom handling for
import.meta.url
? - deferred to - https://github.com/ProjectEvergreen/greenwood/issues/1008#issuecomment-1606287535