chore: bump vite-plugin-electron-renderer tot 0.13.11

This commit is contained in:
草鞋没号 2023-03-27 16:13:03 +08:00
parent 8171344a13
commit 6fbe501537
2 changed files with 2 additions and 4 deletions

View File

@ -30,7 +30,7 @@
"typescript": "^5.0.2", "typescript": "^5.0.2",
"vite": "^4.2.1", "vite": "^4.2.1",
"vite-plugin-electron": "^0.11.1", "vite-plugin-electron": "^0.11.1",
"vite-plugin-electron-renderer": "^0.13.10", "vite-plugin-electron-renderer": "^0.13.11",
"vue": "^3.2.47", "vue": "^3.2.47",
"vue-tsc": "^1.2.0" "vue-tsc": "^1.2.0"
} }

View File

@ -58,9 +58,7 @@ export default defineConfig(({ command }) => {
} }
]), ]),
// Use Node.js API in the Renderer-process // Use Node.js API in the Renderer-process
renderer({ renderer(),
nodeIntegration: true,
}),
], ],
server: process.env.VSCODE_DEBUG && (() => { server: process.env.VSCODE_DEBUG && (() => {
const url = new URL(pkg.debug.env.VITE_DEV_SERVER_URL) const url = new URL(pkg.debug.env.VITE_DEV_SERVER_URL)