mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
chore: bum vite-plugin-electron-renderer to 0.11.3
This commit is contained in:
parent
cd8fea0c28
commit
77cda603be
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user