You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a Vite MPA setup and am having to use workaround in order to create a PWA for one of 5 apps.
Currently,
The link to the generated manifest file is added to all apps
Setting up the path to the manifest is buggy and needs extra steps outside Vite.
Creating multiple, different PWAs for multiple apps in a Vite MPA setting is complete hassle.
I imaging allowing a parameter of type Partial<VitePWAOptions>[] and setting up the handling logic would be a first step in the right direction.
If the team doesn’t have the bandwidth to implement this feature, I would be happy to contribute and work on it myself. Please let me know if this is something that would be helpful.
The text was updated successfully, but these errors were encountered:
I haven't tried Vite MPA, I think you can register multiple pwa plugins, the problem is about configuring each sw (I guess you want a sw per entry point, and so assets can be mixed from multiple apps: /app1 with sw1, app2 with sw2...).
Hi, I have a Vite MPA setup and am having to use workaround in order to create a PWA for one of 5 apps.
Currently,
I imaging allowing a parameter of type
Partial<VitePWAOptions>[]
and setting up the handling logic would be a first step in the right direction.If the team doesn’t have the bandwidth to implement this feature, I would be happy to contribute and work on it myself. Please let me know if this is something that would be helpful.
The text was updated successfully, but these errors were encountered: