提取公用代码  

  减少代码冗余

  提高加载速度

  首先webpack已经把CommonsChunkPlugin移除了,我们需要使用其他方法分包

posted on 2018-12-10 03:29  苏荷酒吧  阅读(161)  评论(0)    收藏  举报