nand2tetris / web-ide

A web-based IDE for https://nand2tetris.org
https://nand2tetris.github.io/web-ide
Other
38 stars 11 forks source link

[cleanup]: Better separate dependencies and bundles. #305

Closed DavidSouther closed 1 month ago

DavidSouther commented 1 month ago

npm run -w web analyze as of #277 shows all of projects and monaco-editor in the main bundle. While most users probably want monaco (the VSCode editor), we do provide an option to toggle it off (both in settings as well as an undocumented URL parameter). projects/ only need to be fully loaded after clicking the "Reset Files" button in settings (which already is a long running operation). Both of these should be async await import loads, if possible.

image