I’m not a Webpack master but Aurelia’s default Webpack configuration (that is generated when using the CLI to create a new project) seems to produce a lot of .js chunks. As in, more than 20 from what I can see. Any explanations on why things are set up this way by default? Do we really need every dependency to be its own chunk? Regardless of HTTP/2 multiplexing it seems that this amount of files would still negatively affect load performance.
I was wondering this before as well. It does seem excessive and should not be the default. I want a good example of how to make chunks of out of sections of my code