I don't quite understand exactly how "module federation" works in webpack 5.
Let's say I'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?
Let's say I'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'm assuming you have to build it with your app. Otherwise, I might bundle in stuff that you don't actually need in your app and it wouldn't be able to be "tree-shaken".
If that's the case, are other tools able to participate in module federation? Or do you have to use webpack?
If that's the case, are other tools able to participate in module federation? Or do you have to use webpack?