You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
例如,包 b 依赖 a 的 component x
当我的项目依赖package b 时,其实不需要 link component y
当包 a 的组件数量非常多的时候,会导致 link 很多不必要的库,导致链接速度非常慢。
为什么不使用 config 来选择性编译?
因为依赖这个包的地方非常多,且可能会依赖不同组件。如果使用 config 来控制编译,会导致包 a 被反复编译。所以我们使用组件的方式来控制链接。
Beta Was this translation helpful? Give feedback.
All reactions