Open ElielGez opened 7 months ago
@ElielGez , how do you solve it? I have the same issue.
https://github.com/module-federation/vite/blob/e5f0faac8ee9fcb98e3c179d70ad88f198206fdb/examples/vite-vite/vite-remote/vite.config.js#L31 Using manifest.json can help preload, which is very beneficial for performance.
您好!您的邮件我已收到
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hello! I have received your email
the same problem,what is the solusion?
Hello, I noticed that when I'm putting shared dependencies inside federation plugin it's loading those dependencies sequentially and not in parallel, This is causing bad performance when page first init.. Maybe I'm missing something, but couldn't find anything related to this in docs
Versions
Reproduction
Please see the waterfall chart below:
Steps to reproduce
Just set federation plugin like this: federation({ name: 'host', filename: 'remoteEntry.js', remotes: { }, shared: ['react','react-dom','uuid','bowser', etc..] }),
What is Expected?
Load in parallel to reduce loading time
What is actually happening?
Loading sequentially