umijs / qiankun

📦 🚀 Blazing fast, simple and complete solution for micro frontends.
https://qiankun.umijs.org
MIT License
15.61k stars 2k forks source link

feat: remove webpack chunk cache attributes just while there are multi instances loaded on document #2873

Closed kuitos closed 6 months ago

kuitos commented 6 months ago

当且仅当文档上同时挂载同一个应用多次时,需要移除 webpack 的缓存,从而避免后续挂载的子应用实例因为命中了 webpack 的缓存,从而不再新建对应的 chunk script,导致 chunk 缺失

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: 474a6b0293381c3b44852b4503f1925661269da0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages | Name | Type | | ------------------ | ----- | | qiankun | Patch | | @qiankunjs/shared | Patch | | @qiankunjs/loader | Patch | | @qiankunjs/sandbox | Patch | | @qiankunjs/react | Patch | | @qiankunjs/vue | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
qiankun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2024 1:29pm