diff --git a/vite.config.ts b/vite.config.ts index c85c585..b3f2502 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -58,7 +58,9 @@ export default defineConfig(({ command }) => { }, }, }, - // Use Node.js API in the Renderer process + // 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 renderer: {}, }), ],