chore: bum vite-plugin-electron-renderer to 0.11.3

This commit is contained in:
草鞋没号 2022-11-19 07:54:40 +08:00
parent cd8fea0c28
commit 77cda603be
2 changed files with 1 additions and 10 deletions

View File

@ -21,7 +21,7 @@
"typescript": "^4.8.4", "typescript": "^4.8.4",
"vite": "^3.2.2", "vite": "^3.2.2",
"vite-plugin-electron": "^0.10.4", "vite-plugin-electron": "^0.10.4",
"vite-plugin-electron-renderer": "^0.11.1", "vite-plugin-electron-renderer": "^0.11.3",
"vue": "^3.2.40", "vue": "^3.2.40",
"vue-tsc": "^1.0.9" "vue-tsc": "^1.0.9"
}, },

View File

@ -57,12 +57,6 @@ export default defineConfig({
// Use Node.js API in the Renderer-process // Use Node.js API in the Renderer-process
renderer({ renderer({
nodeIntegration: true, nodeIntegration: true,
optimizeDeps: {
include: [
'fs/promises',
'process',
],
},
}), }),
], ],
server: process.env.VSCODE_DEBUG ? (() => { server: process.env.VSCODE_DEBUG ? (() => {
@ -73,7 +67,4 @@ export default defineConfig({
} }
})() : undefined, })() : undefined,
clearScreen: false, clearScreen: false,
build: {
assetsDir: '', // #287
},
}) })