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

bundle分析功能 #15

Closed
6 of 11 tasks
otakustay opened this issue Jan 27, 2021 · 1 comment
Closed
6 of 11 tasks

bundle分析功能 #15

otakustay opened this issue Jan 27, 2021 · 1 comment

Comments

@otakustay
Copy link
Member

otakustay commented Jan 27, 2021

先收集一波可行的策略

  • 初始加载资源分析
    • 资源数量
    • 资源总体积
    • 资源平衡性(不同资源间尺寸不要差距过大)
    • 拒绝某些包初始加载(如要求首屏不引入echarts
  • 多次构建的产出差异和趋势
    • 资源体积
    • 哈希稳定性
  • 依赖锁过期情况
  • 同库多版本引入情况
  • 需要tree shaking的库通过bundle引入的情况
@otakustay
Copy link
Member Author

后续功能在 #64 中跟进

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

1 participant