How do I set the load and execution order of two external async
Javascript files?
Given the following...
<script src="framework.js" async></script> // Larger file
<script src="scripts.js" async></script> // Small file
Though second in order scripts.js
is downloading and executing before framework.js
due to it's file size, but scripts.js
is dependent on framework.js
.
Is there a way natively to specify the load and execution order whilst still maintaining async
properties?