Skip to content

Commit

Permalink
Update index.ts fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoes authored Oct 31, 2024
1 parent 2553fe9 commit e83a147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ window.ipcRenderer.on('main-process-message', (_event, message) => {
// Preload scripts may contain Web assets, so use the \`build.rollupOptions.input\` instead \`build.lib.entry\`.
input: path.join(__dirname, 'electron/preload.ts'),
},
// Ployfill the Electron and Node.js API for Renderer process.
// Polyfill 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: process.env.NODE_ENV === 'test'
Expand Down

0 comments on commit e83a147

Please sign in to comment.