Skip to content

monaco_editor: allow inclusion of external js

By using a magic comment such as

   // erp5_monaco_editor_include: ../other.js other

we can tell monaco editor that other.js will be loaded before the current javascript file, which helps the typescript compiler in diagnosing errors and providing completions.

rsvp, renderjs and jio are still always loaded because they are used in almost all our javscripts.

Merge request reports