Replies: 1 comment 4 replies
-
|
hi @ra1nj, currently our If you want to achieve the desired behaviour right now you have to to disable the default ResolverPlugin (see https://rsdoctor.dev/blog/release/release-note-1_0#next-steps), copy the ResolverPlugin implementation into your own repo and customize the resolver behaviour there. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Previously we were using cache in repack4.0, and if a device is offline , it can still load the miniapp script from local.
But after upgrade to repack5.0+moduleFederation2.0 , it seems the cache is not working , the app will always fetch the miniapp's mf-manifest.json file online, if the device is offline, it will throw a error like:
So how to achieve offline support for miniapp ?
Beta Was this translation helpful? Give feedback.
All reactions