From 19995fcc1ff15259a0fc01b5ca03840f8b1f3f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Wed, 3 Jan 2024 16:09:47 +0800 Subject: [PATCH] chore: update comments --- vite.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: {}, }), ],