Closed swazrgb closed 5 months ago
I should mention we're only talking about 1mb of code which is dwarved by monaco-editor so it'd probably be fine to just deliver everything in a single bundle.
I assume the reason for the 2 bundles is to optimize the first-page-load speed?
This reduces the size of bundle.out.js which is loaded synchroniously, to the asynchroniously loaded compiler.js instead, which should allow for a faster first page load as this code is only required after the user interacts with the page.