Colum Ferry

Results 173 comments of Colum Ferry

I found the issue. It's specifically an issue with Angular + Module Federation. If you look at the network tab, you can see that there is a bundle being downloaded...

No, there wont be much difference. The real value at dev time comes from being able to use static serve, which would be when you don't specify all `--devRemotes`. But...

That's a valid solution yes. It's a good idea to frequently revisit the architecture to see where you can gain performance. If some of those libraries are very rarely touched,...

You'll need to use the additional dependencies option in the module-federation.config.js file for the apps using Firebase. (https://github.com/vdiaz1130/nx_mf_firebase_import_issue/blob/main/apps/host/module-federation.config.js) Using the contents from the link above, it would look something like...

Looks like you'll also need to add `@apollo/client/core` to `additionalShared`

As frustrating as it may be, can you add all those package names to additionalShared and see if it functions for you? e.g. `firebase/storage`,`firebase/remote-config` etc Your additional shared will be...

Ok, I'll take a closer look at what is going on there. Additional Shared is supposed to work for deps not in the project graph IIRC

I've taken a deeper look at this, and it looks like there may be an issue in the ModuleFederationPlugin itself. I have a workaround in the meantime. In each of...

It's not possible within the `withModuleFederation` helper, but you could extend the webpack config to override it, or set up a manual webpack configuration to do it. We would not...

@jaysoo It looks like we use Modules for React `withModuleFederation`. Is this intentional? I wonder if we should in fact allow this to be overridden. It doesn't make sense in...