You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading Monaco Editor in Electron with Node integration off results in a crash, when it tries to access Node require. This is the default option in VSCode Loader, but there is another not documented require.config option preferScriptTags, that switches the default behavior to load scripts through the renderer.
Unfortunately at this time, this config is hidden behind your MonacoEditorLoaderService's loadMonaco method and making it work is not easy. Can you somehow allow passing config options to the VSCode Loader's config method?
The text was updated successfully, but these errors were encountered:
Loading Monaco Editor in Electron with Node integration off results in a crash, when it tries to access Node require. This is the default option in VSCode Loader, but there is another not documented
require.config
optionpreferScriptTags
, that switches the default behavior to load scripts through the renderer.Unfortunately at this time, this config is hidden behind your
MonacoEditorLoaderService
'sloadMonaco
method and making it work is not easy. Can you somehow allow passing config options to the VSCode Loader'sconfig
method?The text was updated successfully, but these errors were encountered: