What does the maxInitialRequests configuration item in webpack optimization mean?

this configuration item limits the maximum number of parallel requests for initializing the page. I don"t quite understand. What does the
restriction have to do with subcontracting?
can you give me an example and analyze it in detail?
I wrote an example myself and then changed the final subcontract result. The logic is not very clear. I hope the boss can point out that thank you very much O ( _ ) O

.
Jan.29,2022

if runtimeChunk is configured ( webpack runtime is extracted separately), then maxInitialRequest is the maximum number of scripts that can be generated after removing runtime after the code is split.

otherwise, it is the maximum number of scripts that can be generated


you can see this introduction: https://ymbo.github.io/2018/0.

Menu