You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used multiple prerender_pages() targets to build different pages independently and merge them together with web_resources(). However this isn't ideal, because each prerender_pages() target bundles all its JavaScript independently. This means any shared chunks between multiple prerender_pages() targets won't actually be shared at runtime.
prerender_pages_unbundled() skips the work which should be skipped, but I don't have a good way to run that work later. Maybe we should have a bundle_site() rule which takes multiple prerender_pages_unbundled(), bundles the JavaScript and injects the resources.
The text was updated successfully, but these errors were encountered:
I've used multiple
prerender_pages()
targets to build different pages independently and merge them together withweb_resources()
. However this isn't ideal, because eachprerender_pages()
target bundles all its JavaScript independently. This means any shared chunks between multipleprerender_pages()
targets won't actually be shared at runtime.prerender_pages_unbundled()
skips the work which should be skipped, but I don't have a good way to run that work later. Maybe we should have abundle_site()
rule which takes multipleprerender_pages_unbundled()
, bundles the JavaScript and injects the resources.The text was updated successfully, but these errors were encountered: