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

体积优化 #28

Open
shigma opened this issue May 16, 2022 · 0 comments
Open

体积优化 #28

shigma opened this issue May 16, 2022 · 0 comments

Comments

@shigma
Copy link
Member

shigma commented May 16, 2022

我觉得 koi 目前的体积已经是优化的很好的了。刚刚分析了一下本地的目录,希望能提供一些进一步的线索。

  • home/AppData/Local:这个一经启动就会有,并且非常大 (40M),基本都是浏览器生成的文件
    • 建议打开浏览器的工作交给 koi 在外部环境完成
  • instances/*/node_modules:这个初始情况下 30-40M,已经很令人满意了,不过还有一些我认为可能的优化点
    • 有 3.8M 的 dts 文件,3.8M 的 md 文件和 1.8M 的 map 文件,是否考虑直接删除?
    • 较大的依赖子树包括 proxy-agent > pac-proxy-agent > * (3.7M),是否有人需要这个功能?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant