diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-10-03 00:52:29 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-10-03 00:52:29 +0200 |
commit | 6e330e457efff228f7094cab8ac1d7518a6bcb9e (patch) | |
tree | 361d0f071f7839119d359407e238305e0577fda7 | |
parent | a4b14e2c0edbbae1d399009ad9d691e7c30d4571 (diff) | |
download | FlightCore-6e330e457efff228f7094cab8ac1d7518a6bcb9e.tar.gz FlightCore-6e330e457efff228f7094cab8ac1d7518a6bcb9e.zip |
build: move front files on build step
-rw-r--r-- | src-tauri/tauri.conf.json | 4 |
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 +} |