I’m trying to configure my Ionic React app to serve the PWA from a subdirectory without affecting the iOS/Android apps.
To serve the PWA from a subdirectory, in package.json, I can change
homepage: "/"," to homepage: “subdirectory”,`; then, if I build the PWA, the URLs will be correct.
homepage: "subdirectory",, if I build an Android or Ionic app, I get stuck on the splash screen because it can’t find any of the files.
How can I tell Ionic React that I want to use a different
homepage value only for the PWA?