build: tauri beforeBuildCommand builds frontend first (prevents stale embeds)

This commit is contained in:
root
2026-10-16 18:23:01 +08:00
parent dd6b2ec030
commit 03daa8acc4
+1 -1
View File
@@ -7,7 +7,7 @@
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "",
"beforeBuildCommand": ""
"beforeBuildCommand": "node node_modules/typescript/bin/tsc --noEmit && node node_modules/vite/bin/vite.js build"
},
"app": {
"windows": [