diff --git a/vite.config.ts b/vite.config.ts index b9a57eb..a3e1ed8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -56,7 +56,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: {}, }), ],