bitburner-official / bitburner-src

Bitburner source code.
Other
838 stars 273 forks source link

MISC: Update monaco-editor #1769

Closed catloversg closed 2 weeks ago

catloversg commented 2 weeks ago

Although I don't mark this PR as a bugfix one, it still fixes the "Unexpected usage: loadForeignModule" error. This error is caused by monaco-editor when it cannot load the language worker. It's hard to know why the language worker cannot be loaded. It may be caused by:

How to reproduce it:

This problem is gone when we update monaco-editor to the latest version.

Closes #1408.