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

Rax 工程构建体积优化专项 #416

Closed
SoloJiang opened this issue Aug 24, 2020 · 1 comment
Closed

Rax 工程构建体积优化专项 #416

SoloJiang opened this issue Aug 24, 2020 · 1 comment
Assignees

Comments

@SoloJiang
Copy link
Contributor

背景

目前通过 externalrax-app 之后,体积能减少 50k。

Action

  • rax-apprax-pwa 替换为 create-app-container (缩减版 rax-pwa)
  • 在开发者没有使用到 tabBar 配置的时候,externalcreate-app-container
  • create-app-shared 中 env 相关的代码没有命中 platformLoader 的 AST 逻辑
  • 从 analyze 来看 tree-shaking 似乎没有生效需要进一步看看
@SoloJiang SoloJiang self-assigned this Aug 24, 2020
@SoloJiang
Copy link
Contributor Author

history 这个包太大了

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