4

[Angular] ngx-center 单运行时多项目共享依赖解决方案

 3 years ago
source link: https://www.v2ex.com/t/782950
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Angular

[Angular] ngx-center 单运行时多项目共享依赖解决方案

  wszgrcy · 3 天前 · 289 次点击

https://github.com/wszgrcy/ngx-center

  • 本来用 ng 的人就少...估计了解我这个的就更少了.
  • 主要是用来解决当项目足够大时,打包时间膨胀,申请内存膨胀的问题
  • 原理就是先打包依赖(dll),再打包主项目,同时主项目实现了内置的 dll,然后打包子项目,子项目可以使用到内置的 dll 来保持住各种依赖注入...
  • 觉得有啥缺点,不足尽管来提吧

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK