diff --git a/package.json b/package.json index 548e2dc..eb126b8 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "typescript": "^4.8.4", "vite": "^3.2.2", "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-tsc": "^1.0.9" }, diff --git a/vite.config.ts b/vite.config.ts index 128002c..e414aa4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -57,12 +57,6 @@ export default defineConfig({ // Use Node.js API in the Renderer-process renderer({ nodeIntegration: true, - optimizeDeps: { - include: [ - 'fs/promises', - 'process', - ], - }, }), ], server: process.env.VSCODE_DEBUG ? (() => { @@ -73,7 +67,4 @@ export default defineConfig({ } })() : undefined, clearScreen: false, - build: { - assetsDir: '', // #287 - }, })