LAB.js can be used to move script loading into the head, but we have additional requirements:
Choose between Zepto.js and jQuery based on the browser.
Load jQuery from a CDN and failover to local
This means LAB.js won't be a simple drop-in replacement. We need to think about how an app can define its resource requirements outside of the webasset mechanisms.
LAB.js can be used to move script loading into the head, but we have additional requirements:
This means LAB.js won't be a simple drop-in replacement. We need to think about how an app can define its resource requirements outside of the webasset mechanisms.