habbes / xaval

Interactive web-based playground for computer vision exploration and experimentation
https://xaval.habbes.xyz
5 stars 0 forks source link

Monaco #84

Closed habbes closed 6 years ago

habbes commented 6 years ago

Addresses issue #34

This sets Monaco as the main editor and disables the Ace editor.

The bundles sizes, both the main app.js and the monaco worker scripts, are still huge, taking up a couple of megabytes in size. I didn't manage to get the app bundle any smaller than 1.62 MBs after importing Monaco.

I also attempted to setup the google closure compiler to perform minification with the advanced setting, but I got too many errors and I didn't want to spend any more time on this at the moment.

I'll revisit this issue in future and figure out how to shrink the size before I get to v1.0. repl.it also uses monaco as their editor, but their bundle sizes are much smaller.