子应用之间公共vendors怎么共享 #1842
Unanswered
zhuzhuaicoding
asked this question in
Q&A
Replies: 3 comments 1 reply
-
多入口打包?因为用同一个编译时,lodash应该是被打进一个chunk里的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
全局挂载了,虽然不太好,但是子应用多了实在耗不起 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
子应用1里面依赖lodash,子应用2里面也依赖lodash,怎么让2个子应用公用一个lodash?不然的话,2个子应用都会把lodash打包进去,这是合理的吗?
Beta Was this translation helpful? Give feedback.
All reactions