prerender-spa-plugin icon indicating copy to clipboard operation
prerender-spa-plugin copied to clipboard

Not be compatible with PWA building

Open zheeeng opened this issue 5 years ago • 4 comments

The pre-rendered pages are not to be included in the precache-manifest file. And the prerender processing preserved the content of the original entry file index.html before webpack-pwa-plugin revisions files, it causes the revision number for /index.html in precache-manifest file is always the same one, (but it's content is updated).

zheeeng avatar Jul 28 '19 09:07 zheeeng

I'm having the same problem. Is there a workaround?

jaunt avatar Sep 04 '19 21:09 jaunt

My solution is here, but I've since abandoned pre-rendering altogether. I believe my app isn't well suited to it. https://gist.github.com/jaunt/b5127af103995e80dd74ff14662a0281

jaunt avatar Sep 10 '19 19:09 jaunt

@jaunt It is a much-appreciated work!

zheeeng avatar Sep 14 '19 03:09 zheeeng

My solution is here, but I've since abandoned pre-rendering altogether. I believe my app isn't well suited to it. https://gist.github.com/jaunt/b5127af103995e80dd74ff14662a0281

404 NotFound

dimar-hanung avatar Jan 24 '21 13:01 dimar-hanung