After following several examples, I have determined that the render hooks are not working correctly in my application. RenderAfterElementExists will pre-render the correct folders under /dist, but it just copies index.html over? When using RenderAfterDocumentEvent, the build process stops at 98% and provides an error "prerender-spa-plugin] Unable to prerender all routes!
(node:6228) UnhandledPromiseRejectionWarning: Error: Protocol error (Runtime.callFunctionOn): Target closed."
I've followed all possible combinations in this repo, not sure what else to try.
After following several examples, I have determined that the render hooks are not working correctly in my application. RenderAfterElementExists will pre-render the correct folders under /dist, but it just copies index.html over? When using RenderAfterDocumentEvent, the build process stops at 98% and provides an error "prerender-spa-plugin] Unable to prerender all routes! (node:6228) UnhandledPromiseRejectionWarning: Error: Protocol error (Runtime.callFunctionOn): Target closed."
I've followed all possible combinations in this repo, not sure what else to try.