aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-10-03 00:52:29 +0200
committerRemy Raes <raes.remy@gmail.com>2022-10-03 00:52:29 +0200
commit6e330e457efff228f7094cab8ac1d7518a6bcb9e (patch)
tree361d0f071f7839119d359407e238305e0577fda7
parenta4b14e2c0edbbae1d399009ad9d691e7c30d4571 (diff)
downloadFlightCore-6e330e457efff228f7094cab8ac1d7518a6bcb9e.tar.gz
FlightCore-6e330e457efff228f7094cab8ac1d7518a6bcb9e.zip
build: move front files on build step
-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
+}