-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared dependencies is loaded sequentially #594
Comments
@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 |
您好!您的邮件我已收到
|
Hello! I have received your email |
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
The text was updated successfully, but these errors were encountered: