From 5513979ebcb804e0a27a97f094c0f331a5685fa1 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sun, 18 Jan 2026 17:33:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=85=8D=E7=BD=AE=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=BE=9D=E8=B5=96=E4=B8=8E=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E4=BC=98=E5=8C=96=E7=BC=93=E5=AD=98=E5=92=8C?= =?UTF-8?q?=E4=BA=A7=E7=89=A9=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 配置构建任务依赖关系并指定各任务输出路径以优化构建缓存和产物管理。 --- turbo.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/turbo.json b/turbo.json index 1770726..6a61284 100644 --- a/turbo.json +++ b/turbo.json @@ -3,10 +3,15 @@ "dangerouslyDisablePackageManagerCheck": true, "tasks": { "build:compile": { - "dependsOn": ["build:vite"] + "dependsOn": ["build:vite"], + "outputs": ["out/**", "src-tauri/binaries/**"] }, "build:tauri": { - "dependsOn": ["build:compile"] + "dependsOn": ["build:compile"], + "outputs": ["src-tauri/target/release/bundle/**"] + }, + "build:vite": { + "outputs": [".output/**"] }, "dev": { "cache": false,