formidable-playbook
Version:
The Formidable Playbook
18 lines (17 loc) • 567 B
HTML
<html>
<body>
<div id="content" />
<script src="https://unpkg.com/little-loader/dist/little-loader.min.js"></script>
<script>
// Use little-loader to load `lib.js` first.
// **Note**: Need to manually translate files in production to CDN hashes.
window._lload("./dist/js/lib.js", function () {
// Then load entry points in parallel
// (assuming we don't care about order).
window._lload("./dist/js/app1.js");
window._lload("./dist/js/app2.js");
});
</script>
</body>
</html>