diff --git a/app/ide-desktop/client/src/preload.ts b/app/ide-desktop/client/src/preload.ts index 5d528c0d4978..44ecc902a624 100644 --- a/app/ide-desktop/client/src/preload.ts +++ b/app/ide-desktop/client/src/preload.ts @@ -16,7 +16,8 @@ import type * as projectManagement from '@/projectManagement' // esbuild, we have to manually use "require". Switch this to an import once new electron version // actually honours ".mjs" files for sandboxed preloading (this will likely become an error at that time). // https://www.electronjs.org/fr/docs/latest/tutorial/esm#sandboxed-preload-scripts-cant-use-esm-imports -import electron from 'electron' +// eslint-disable-next-line @typescript-eslint/no-require-imports +const electron = require('electron') // ================= // === Constants ===