mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 12:06:40 +08:00
bump vite-plugin-electron-renderer to 0.11.1
This commit is contained in:
parent
a55e7c79e5
commit
f652719e90
@ -20,7 +20,7 @@
|
||||
"typescript": "^4.8.4",
|
||||
"vite": "^3.2.2",
|
||||
"vite-electron-plugin": "^0.5.0",
|
||||
"vite-plugin-electron-renderer": "^0.10.2",
|
||||
"vite-plugin-electron-renderer": "^0.11.1",
|
||||
"vue": "^3.2.40",
|
||||
"vue-tsc": "^1.0.9"
|
||||
},
|
||||
|
@ -31,6 +31,12 @@ export default defineConfig({
|
||||
// Use Node.js API in the Renderer-process
|
||||
renderer({
|
||||
nodeIntegration: true,
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'fs/promises',
|
||||
'process',
|
||||
],
|
||||
},
|
||||
}),
|
||||
],
|
||||
server: process.env.VSCODE_DEBUG ? (() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user