From c092900d2dbc7be761c0bd051c755dc43d16d463 Mon Sep 17 00:00:00 2001 From: likui628 <90845831+likui628@users.noreply.github.com> Date: Sat, 3 Feb 2024 21:42:18 +0800 Subject: [PATCH] fix: Excessive stack depth comparing types `UserConfig` and `UserConfig` --- apps/admin/vite.config.ts | 2 +- apps/gf-vben/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/admin/vite.config.ts b/apps/admin/vite.config.ts index b369dae8..072f574f 100644 --- a/apps/admin/vite.config.ts +++ b/apps/admin/vite.config.ts @@ -2,5 +2,5 @@ import { createViteConfig } from '@config/vite' import { defineConfig, UserConfig } from 'vite' export default defineConfig(async ({ command, mode }): Promise => { - return await createViteConfig(command, mode, process.cwd()) + return await createViteConfig(command, mode, process.cwd()) as UserConfig }) diff --git a/apps/gf-vben/vite.config.ts b/apps/gf-vben/vite.config.ts index b369dae8..072f574f 100644 --- a/apps/gf-vben/vite.config.ts +++ b/apps/gf-vben/vite.config.ts @@ -2,5 +2,5 @@ import { createViteConfig } from '@config/vite' import { defineConfig, UserConfig } from 'vite' export default defineConfig(async ({ command, mode }): Promise => { - return await createViteConfig(command, mode, process.cwd()) + return await createViteConfig(command, mode, process.cwd()) as UserConfig })