This commit is contained in:
Siddharth
2025-11-16 01:44:41 -07:00
parent 921ecebb1a
commit 75388e1218
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export default defineConfig({
},
// Ployfill the Electron and Node.js API for Renderer process.
// If you want use Node.js in Renderer process, the `nodeIntegration` needs to be enabled in the Main process.
// See 👉 https://github.com/electron-vite/vite-plugin-electron-renderer
// See https://github.com/electron-vite/vite-plugin-electron-renderer
renderer: process.env.NODE_ENV === 'test'
// https://github.com/electron-vite/vite-plugin-electron-renderer/issues/78#issuecomment-2053600808
? undefined