From 100f1d8297beb080693fc7e23920fff2d7379b1d Mon Sep 17 00:00:00 2001 From: afe1 Date: Thu, 26 Sep 2024 18:50:26 +0800 Subject: [PATCH 1/3] fix: 1 --- vercel.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 00000000000..9352db4ae27 --- /dev/null +++ b/vercel.json @@ -0,0 +1,3 @@ +{ + "outputDirectory": "./apps/web-antd/dist" +} From dd40988b6477d429bcfcd8df60202e682cfe7dd2 Mon Sep 17 00:00:00 2001 From: pzzyf <2279948211@qq.com> Date: Tue, 8 Oct 2024 22:59:58 +0800 Subject: [PATCH 2/3] fix: 1 --- vercel.json | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 vercel.json diff --git a/vercel.json b/vercel.json deleted file mode 100644 index 9352db4ae27..00000000000 --- a/vercel.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "outputDirectory": "./apps/web-antd/dist" -} From 6ecf2aaec149750a1c3132fbf8233f1ad6ea3ac3 Mon Sep 17 00:00:00 2001 From: pzzyf <2279948211@qq.com> Date: Wed, 16 Oct 2024 23:49:04 +0800 Subject: [PATCH 3/3] fix: variables --- internal/vite-config/src/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/vite-config/src/config/index.ts b/internal/vite-config/src/config/index.ts index 56ad3d400e4..d04a84a869c 100644 --- a/internal/vite-config/src/config/index.ts +++ b/internal/vite-config/src/config/index.ts @@ -16,7 +16,7 @@ function defineConfig( let projectType = type; // 根据包是否存在 index.html,自动判断类型 - if (type === 'auto') { + if (projectType === 'auto') { const htmlPath = join(process.cwd(), 'index.html'); projectType = existsSync(htmlPath) ? 'application' : 'library'; }