As index.html only knows about /main.js, it will have to fetch it completely before fetching /depA.js and /depB.js — and so on. This can cause a number of requests, measurable as ‘request chains’
ES6 Modules in Chrome M61+
Sam Thorogood

This looks like a job for… HTTP2 and server-side static code analysis

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.