From a549c4e87b4d9dada8cd63568833cb8ff77ea7d5 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 4 Oct 2022 14:20:41 +0200 Subject: refactor: Change dist dir path Instead of copying dist to different directory as before build step --- src-tauri/tauri.conf.json | 4 ++-- 1 file 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", -- cgit v1.2.3