Skip to content
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

【优化】对于 runtime.json 中 external 的资源,希望能够并行加载 #710

Open
HuColin opened this issue Dec 29, 2023 · 0 comments
Assignees

Comments

@HuColin
Copy link
Contributor

HuColin commented Dec 29, 2023

Do you want to request a feature or report a bug?
feature

What is the current behavior?
当前对于 runtime.json 中的依赖文件是串行加载的,fetch eval fetch eval ... 交替进行,希望能够尽量通过 Promise.all 的方式并行加载资源,按顺序解析资源。目前对于 微模块的主资源采用的就是这个方式。同时 css 资源可以通过 prefetch 的的方式提前获取,后置挂载。

**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior?

@ClarkXia ClarkXia self-assigned this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants