vuejs-templates/webpack

How to troubleshoot a large vendor file?

Open

#1,297 建立於 2018年2月9日

在 GitHub 查看
 (16 留言) (7 反應) (0 負責人)JavaScript (9,721 star) (4,466 fork)batch import
enhancementhelp wanted

描述

My production build is a bit heavy:

              Chunk Names
                 static/fonts/element-icons.6f0a763.ttf      11 kB          [emitted]
               static/js/vendor.dd83b1b8e4fd1abaaa41.js    3.19 MB       0  [emitted]  [big]  vendor

What's the best way to tell which 3rd party packages are contributing to this heft?

貢獻者指南