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

【Feature】多页应用的分包策略 #19

Closed
GuoYongfeng opened this issue Aug 30, 2017 · 1 comment
Closed

【Feature】多页应用的分包策略 #19

GuoYongfeng opened this issue Aug 30, 2017 · 1 comment

Comments

@GuoYongfeng
Copy link
Member

需求:multi-page 工程中,多个页面 entry 引用了相同的 js 文件,能够提取出公共的 chunk 并形成公共的 js 文件,最后在 html 中加载。

场景:混合应用中,前端静态资源存储在客户端,前端资源体积过大会导致应用安装包过大。

@kvkens
Copy link
Member

kvkens commented Nov 14, 2017

此问题资金云项目已经按照此方式做过优化,玩事APP目前采用更快的插件来做这事。也有私下测试过分包构建的策略。

@kvkens kvkens closed this as completed Nov 14, 2017
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