Reduce size of replayWorker by removing wombat and wombat workers #1188
Labels
backend
build
Code relating to building, publishing, or maintaining the app
dependencies
Pull requests that update a dependency file
zimit
Code relating to the support of Zimit-style archives
Milestone
Following openzim/warc2zim#143, it might be better to include our own copy of wombat and wombat workers as a dependency in this Repo (and downstream in the PWA), rather than relying on the version embedded in
sw.js
/ a.k.a.replayWorker.js
. At build time, terser complains that it had to deoptimize the style of replayWorker because it is larger than 500KB. It seems wasteful that it includes an entire copy of wombat (minified) inside it.The text was updated successfully, but these errors were encountered: