From 173e02e2079699154badd2c3d875789ce6241b5d 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:08:30 +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 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: {}, }), ],