re: We reduced our vendor.js from 210kb to 16kb in about five minutes of work and ten lines of code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Great job Ben =) Out of curiosity, where are the other 194KB? I would assume they are in another vendor chunk. Right? Webpack 4 has the concept o...
 

The other 194 are in chunks that load when import is called within the code.

Some are quite deep in app logic and we really never want them for most visits. They are only called as necessary. We would maybe want to prefetch them once folks get close to where they would be hidden, but that's about it.

code of conduct - report abuse