I don&
#39;t quite understand exactly how "module federation" works in webpack 5.
Let&
#39;s say I&
#39;m a library author and I want to publish a build of my component lib that you can use with webpack 5 MF.
Can I build that and publish it on npm? Or do you have to build it with your app?
I&
#39;m assuming you have to build it with your app. Otherwise, I might bundle in stuff that you don&
#39;t actually need in your app and it wouldn&
#39;t be able to be "tree-shaken".
If that&
#39;s the case, are other tools able to participate in module federation? Or do you have to use webpack?