From dde00a8e11448b6790442db6b67a5ed20a25bea5 Mon Sep 17 00:00:00 2001 From: ComfyFluffy <24245520+ComfyFluffy@users.noreply.github.com> Date: Fri, 1 Mar 2024 10:43:44 +0800 Subject: [PATCH] build only if vue-tsc check pass --- spx-gui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spx-gui/package.json b/spx-gui/package.json index 9daee4abf..b96560198 100644 --- a/spx-gui/package.json +++ b/spx-gui/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build", + "build": "vue-tsc --build --force && vite build", "preview": "vite preview", "type-check": "vue-tsc --build --force", "lint": "eslint . --ext .vue,.ts --ignore-path .gitignore"