Skip to content

Commit 905d78e

Browse files
fix(tauri): add beforeBuildCommand to build frontend assets
1 parent cce62ca commit 905d78e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/tauri-app/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"devUrl": "http://localhost:5173",
77
"frontendDist": "../frontend/dist",
88
"beforeDevCommand": "",
9-
"beforeBuildCommand": ""
9+
"beforeBuildCommand": "cd ../frontend && npm install && npm run build"
1010
},
1111
"app": {
1212
"withGlobalTauri": true,

0 commit comments

Comments
 (0)