Call for help about the problem that the packing volume of mpvue import files is too large.

introduced cheerio to write a crawler
oversized



ask for help!

Jun.23,2021

webpack, if so, npm run build-- report to see which part of the package is larger, and then see if it can be introduced with cdn. However, cheerio does not seem to support the introduction of cdn =. =


you use webpack-bundle-analyse to analyze it and then look at it.

in addition, you can write a set of this kind of thing yourself, or find a lightweight one that can't be implemented to see if it can be loaded on demand.
in short, there are many ways. Which one do you think suits you better?


I also encountered this problem. How did the landlord solve it?


the landlord solved this problem. I also encountered this problem

.
Menu