Config for webpacked client of ONLY exposed modules, no primary client experience & with proper cache-busting #3826
Closed
JasonKleban
started this conversation in
General
Replies: 1 comment
-
Moved to module-federation/core#2385 |
Beta Was this translation helpful? Give feedback.
0 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.
-
Although I already have federated modules basically working, I'm struggling with my production-ish hardening configuration. I've read all the docs on these topics I can find, but it hasn't clicked for me yet.
I want an output folder like this:
where manifest.js is the stable name known by consuming applications in their own
remotes
configuration. The manifest is not meant to be cached for very long and can be checked for updates by consumers regularly. The "bundle" files are the bulk of the code which are considered immutable and can be cached by consumers/intermediaries forever. The manifest file will always contain the current full contenthashed "bundle" file names.Perhaps I'm misunderstanding the intended output? But I'm unable to exactly achieve the effect.
Confusions:
Can someone who knows please comment on a few of these so I can clear up my understanding?
Beta Was this translation helpful? Give feedback.
All reactions