Skip to content

Commit 9c5a029

Browse files
committed
docs: update simple API
1 parent 2c30da5 commit 9c5a029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/core-plugins.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export default {
168168
},
169169
// Optional: input must be use absolute path
170170
preload: {
171-
input: __dirname + '/electron/preload.ts',
171+
input: 'electron/preload.ts',
172172
},
173173
// Optional: Use Node.js API in the Renderer process
174174
renderer: {},

0 commit comments

Comments
 (0)