From 1183e49fd258b921903649571350d90478f017ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Tue, 7 Jun 2022 11:01:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=F0=9F=90=9E):=20set=20`build.outDir`=20exp?= =?UTF-8?q?licitly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 61abdf6..4a7b84b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,6 +24,7 @@ export default defineConfig({ vite: { build: { sourcemap: false, + outDir: 'dist/electron/main', }, }, }, @@ -36,6 +37,7 @@ export default defineConfig({ build: { // For debug sourcemap: 'inline', + outDir: 'dist/electron/preload', } }, },