This question is regarding code splitting in react, Let us take an example where I have my bundle.js file
I split it into two files bundle.js
and vendor.js
, and I can include this in my index.html
index.html
<script src='./bundle.js'/>
<script src='./vendor.js'/>
Is there a way so that I can include vendor.js
file in my bundle.js
file and both file then can be loaded parallel.