aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-tauri/tauri.conf.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 8818ee79..4b60c843 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"build": {
- "beforeBuildCommand": "cd src-vue && npm run build",
+ "beforeBuildCommand": "cd src-vue && npm run build && cp dist/* ../dist -r",
"beforeDevCommand": "cd src-vue && npm run dev",
"devPath": "http://localhost:5173/",
"distDir": "../dist"
@@ -71,4 +71,4 @@
}
]
}
-} \ No newline at end of file
+}