Open patrick-steele-idem opened 11 years ago
Allow for incremental loading of large JavaScript bundles by generating an HTML with each file part as a separate script block. The generated HTML page could then be used to load the JavaScript in a page by loading it in an iframe.
<script>parent.eval('define("my-module", function() {... }');</script> <script>parent.eval('define("another-module", function() {... }');</script>
Allow for incremental loading of large JavaScript bundles by generating an HTML with each file part as a separate script block. The generated HTML page could then be used to load the JavaScript in a page by loading it in an iframe.