From 04e945d3ebf2032f74af3fa94175258c6aa345ee Mon Sep 17 00:00:00 2001 From: Dragon-Fish Date: Sun, 29 Oct 2023 20:52:36 +0800 Subject: [PATCH 1/2] build: update vercel.json (close #44) --- .gitignore | 2 ++ vercel.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 84b8072b..8516466a 100644 --- a/.gitignore +++ b/.gitignore @@ -108,3 +108,5 @@ dist dev-test *.dev.* .vercel + +.vercel diff --git a/vercel.json b/vercel.json index 8770a5e1..808435e3 100644 --- a/vercel.json +++ b/vercel.json @@ -1,4 +1,6 @@ { + "devCommand": "vite --port $PORT", + "framework": "vue", "rewrites": [ { "source": "/:__PREFIX(~)/:__PATH(.+)", @@ -20,4 +22,4 @@ } ], "headers": [] -} +} \ No newline at end of file From f577414278e01ea958828f40fa8a3503ba3978fc Mon Sep 17 00:00:00 2001 From: Dragon-Fish Date: Sun, 29 Oct 2023 20:53:59 +0800 Subject: [PATCH 2/2] revert: revert .gitignore --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8516466a..84b8072b 100644 --- a/.gitignore +++ b/.gitignore @@ -108,5 +108,3 @@ dist dev-test *.dev.* .vercel - -.vercel