Hi all, I’d like the ionic-angular app that I’ve been developing be able to work without an internet connection to the extent possible. I’ve realized now that it doesn’t work as a PWA out of the box because the app requests various chunks from the server only when they are needed.
For example, an ionicon svg only gets requested when it would be shown on mouseover, and when I try to navigate from my landing page component to another page I get errors like “Loading chunk node_modules_ionic_core_dist_esm_ion-alert_entry_js failed.”
I need advice on how to make the necessary changes to my application configuration so that it works as a PWA as well as an online web app? Ultimately I want it to work on IOS, Android, and the Web whether or not there’s an internet connection. For what it’s worth, I have been building the app in the context of an Nx workspace.