What does it mean that a chunks contains more than one vue-cli after it is packaged?

as shown in the figure, is this file so large because it contains multiple files?


2.js

Mar.30,2021

Thank you for inviting ~ this still requires you to post the relevant configuration code of webpack before it is easy to find the problem.


is this the rhythm of asking a question twice?

you may not have figured out the concept of chunk.

in webpack, an app consists of multiple chunk (depending on your entry and dynamic import), and a chunk can consist of multiple module

if you say that an assets has a lot of id, it means that there are only a lot of chunk, and it doesn't mean anything.

guess from this picture that xlsx.js may have caused so much in the asset of 2.js.

Menu