-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
feat(preset-umi): codeSplitting support auto load chunk #9859
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Size Change: +1.65 kB (0%) Total Size: 9.98 MB
ℹ️ View Unchanged
|
@sorrycc 这个方案是来代替早上开会说的“把 chunks 加回来” |
Codecov ReportBase: 29.24% // Head: 29.40% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #9859 +/- ##
==========================================
+ Coverage 29.24% 29.40% +0.15%
==========================================
Files 429 430 +1
Lines 12237 12282 +45
Branches 2930 2938 +8
==========================================
+ Hits 3579 3611 +32
- Misses 8097 8109 +12
- Partials 561 562 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
packages/preset-umi/src/features/codeSplitting/codeSplitting.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
想了下,webpack/webpack 在 dev 时增量构建时可能有问题,assets.js 和 assets.css 会累加。简单解可以是改成只针对 production 开启。
调整完毕 |
No description provided.