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.
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.