10000 chore: update comments · coder-long/electron-vite-react@173e02e · GitHub
[go: up one dir, main page]

Skip to content

Commit 173e02e

Browse files
committed
chore: update comments
1 parent 6b7c05b commit 173e02e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ export default defineConfig(({ command }) => {
5858
},
5959
},
6060
},
61-
// Use Node.js API in the Renderer process
61+
// Ployfill the Electron and Node.js API for Renderer process.
62+
// If you want use Node.js in Renderer process, the `nodeIntegration` needs to be enabled in the Main process.
63+
// See 👉 https://github.com/electron-vite/vite-plugin-electron-renderer
6264
renderer: {},
6365
}),
6466
],

0 commit comments

Comments
 (0)
0