My webpack builds are running out of memory, so I'm trying to debug it using the webpack analyse tool. The odd thing is, none of the hints about prefetching include code from my project. Everything is from node_modules, and more specifically, webpack modules.
Here are a couple of examples:
I checked out this post: How to optimize webpack's build time using prefetchPlugin & analyse tool?
but it doesn't really explain why the "hints" section only includes node_modules dependencies, and after reading it, I'm still not completely sure how the prefetching works. In the second example, would I prefetch inherits_browser.js
? If so, how does webpack know when to prefetch it?
EDIT: I solved my OOM issue, but I'm still curious why the analyse tool shows this.