docs: renderer comments

This commit is contained in:
草鞋没号 2022-08-11 09:25:19 +08:00 committed by GitHub
parent 74ce72367e
commit 7b27d3546b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ export default defineConfig({
},
},
// Enables use of Node.js API in the Renderer-process
// https://github.com/electron-vite/vite-plugin-electron/tree/main/packages/electron-renderer#electron-renderervite-serve
renderer: {},
}),
renderBuiltUrl(),