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
Then after bundling, the monaco-editor causes the React app to completely re-mount and lose all its state.
My best guess is that monaco-editor uses a Worker that detects Electron and fails. It has been almost impossible to debug.
Note: This works fine in npm run dev mode, it only breaks after npm run build then dynamically loading the monaco-editor
Any ideas?
The text was updated successfully, but these errors were encountered:
kitapp gives some errors when I run it locally, is it possible to provide a simple replication of the Demo, I will focus more on the problems vite-plugin-electron-renderer is facing.
Vite does not provide a corresponding Electron pre-config. So nodeIntegration is designed to ensure that Vite builds the Electron-Renderer correctly. It is disabled by default.
In my app, if I enable:
Then after bundling, the
monaco-editor
causes the React app to completely re-mount and lose all its state.My best guess is that
monaco-editor
uses a Worker that detects Electron and fails. It has been almost impossible to debug.Any ideas?
The text was updated successfully, but these errors were encountered: