aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-04 14:20:41 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-04 14:20:41 +0200
commita549c4e87b4d9dada8cd63568833cb8ff77ea7d5 (patch)
treea6e1823265417faedfbfbeece6c9fcba47e42724 /src-tauri
parentc504dede70f146d67caf76a00e4f7b089566c3e1 (diff)
downloadFlightCore-a549c4e87b4d9dada8cd63568833cb8ff77ea7d5.tar.gz
FlightCore-a549c4e87b4d9dada8cd63568833cb8ff77ea7d5.zip
refactor: Change dist dir path
Instead of copying dist to different directory as before build step
Diffstat (limited to 'src-tauri')
-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 26946644..8a57c93e 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,10 +1,10 @@
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"build": {
- "beforeBuildCommand": "cd src-vue && npm run build && cp dist/* ../dist -r",
+ "beforeBuildCommand": "cd src-vue && npm run build",
"beforeDevCommand": "cd src-vue && npm run dev",
"devPath": "http://localhost:5173/",
- "distDir": "../dist"
+ "distDir": "../src-vue/dist"
},
"package": {
"productName": "flightcore",